Itanium needs _PSTAT64 defined to use the pstat api

This commit is contained in:
Doug MacEachern 2006-08-05 02:00:39 +00:00
parent 704b7eb447
commit 0eb11a6dd7
1 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,13 @@
#define __ia64__ #define __ia64__
#endif #endif
#ifdef __ia64__
#ifndef _LP64
#define _LP64
#endif
#define _PSTAT64
#endif
#include <sys/pstat.h> #include <sys/pstat.h>
#include <sys/mib.h> #include <sys/mib.h>
#include <stdlib.h> #include <stdlib.h>