diff --git a/Process.c b/Process.c index 84c9d7a593368c40b77ecd9923aa7e61eb214971..3792f460f137ef0c2518607f8278f281d3275f7e 100644 --- a/Process.c +++ b/Process.c @@ -28,7 +28,6 @@ in the source distribution for its full text. #include #include #include -#include #ifdef __ANDROID__ #define SYS_ioprio_get __NR_ioprio_get @@ -46,6 +45,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 ef84e980eb6e139f4f1a6f0ee545a621017969bc..59196abc94b7d6f7a80a0303e1776d96f29b7695 100644 --- a/Process.h +++ b/Process.h @@ -24,6 +24,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