diff --git a/Process.c b/Process.c index ee9c9b24..0a184b70 100644 --- a/Process.c +++ b/Process.c @@ -34,7 +34,6 @@ in the source distribution for its full text. (defined(HAVE_SYS_SYSMACROS_H) && HAVE_SYS_SYSMACROS_H) #include #endif -#include #ifdef __ANDROID__ #define SYS_ioprio_get __NR_ioprio_get @@ -52,6 +51,7 @@ in the source distribution for its full text. #include "Object.h" #include +#include #define PROCESS_FLAG_IO 0x0001 diff --git a/Process.h b/Process.h index f70a4480..3ff67d4c 100644 --- a/Process.h +++ b/Process.h @@ -29,6 +29,7 @@ in the source distribution for its full text. #include "Object.h" #include +#include #define PROCESS_FLAG_IO 0x0001 diff --git a/darwin/Platform.h b/darwin/Platform.h index 1231217b..d5446a88 100644 --- a/darwin/Platform.h +++ b/darwin/Platform.h @@ -16,6 +16,10 @@ in the source distribution for its full text. #include "BatteryMeter.h" #include "DarwinProcess.h" +typedef enum DarwinProcessFields { + LAST_PROCESSFIELD = 100, +} DarwinProcessField; + #ifndef CLAMP #define CLAMP(x,low,high) (((x)>(high))?(high):(((x)<(low))?(low):(x))) #endif