fix aix 64-bit mode compile
This commit is contained in:
parent
b1ae2b2f24
commit
fa69ed85df
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue