From 4aba5d878d02f3d17f736f1200c16dcd66b5b85b Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Sun, 4 Feb 2018 16:32:41 +0100 Subject: Fix inttypes.h header --- Process.c | 2 +- Process.h | 1 + darwin/Platform.h | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Process.c b/Process.c index 84c9d7a5..3792f460 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 ef84e980..59196abc 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 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 -- cgit v1.2.3