From fa69ed85df9e3ef1a7425a449498e08c6582ebdb Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 11 May 2007 15:50:31 +0000 Subject: [PATCH] fix aix 64-bit mode compile --- src/os/aix/aix_sigar.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/os/aix/aix_sigar.c b/src/os/aix/aix_sigar.c index b1860622..b0df2d08 100644 --- a/src/os/aix/aix_sigar.c +++ b/src/os/aix/aix_sigar.c @@ -16,8 +16,11 @@ * USA. */ -#define _KERNEL 1 /* for struct file */ -#include +/* pull in time.h before resource.h does w/ _KERNEL */ +#include +#define _KERNEL 1 +#include /* for struct file */ +#include /* for rlimit32 in 64-bit mode */ #undef _KERNEL #include "sigar.h"