fix aix 64-bit mode compile

This commit is contained in:
Doug MacEachern 2007-05-11 15:50:31 +00:00
parent b1ae2b2f24
commit fa69ed85df
1 changed files with 5 additions and 2 deletions

View File

@ -16,8 +16,11 @@
* USA.
*/
#define _KERNEL 1 /* for struct file */
#include <sys/file.h>
/* pull in time.h before resource.h does w/ _KERNEL */
#include <sys/time.h>
#define _KERNEL 1
#include <sys/file.h> /* for struct file */
#include <sys/resource.h> /* for rlimit32 in 64-bit mode */
#undef _KERNEL
#include "sigar.h"