diff --git a/Process.c b/Process.c index ee9c9b2475823a665cca2e232ccd5395c10b7a58..0a184b70b7130c0f06ab11a95b13abec40e50106 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 f70a4480e3ad3ba5691f9d47085b23b51fda220c..3ff67d4cc116410a0fd0ce09e16b555fa41ce26d 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 1231217b18343ebea542422820cd5c6132059e95..d5446a88a3fac9705d4d261b11145cdef2f53bea 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