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"