Commit 01695770 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Fix inttypes.h header

parent 0e38be9e
...@@ -34,7 +34,6 @@ in the source distribution for its full text. ...@@ -34,7 +34,6 @@ in the source distribution for its full text.
(defined(HAVE_SYS_SYSMACROS_H) && HAVE_SYS_SYSMACROS_H) (defined(HAVE_SYS_SYSMACROS_H) && HAVE_SYS_SYSMACROS_H)
#include <sys/sysmacros.h> #include <sys/sysmacros.h>
#endif #endif
#include <inttypes.h>
#ifdef __ANDROID__ #ifdef __ANDROID__
#define SYS_ioprio_get __NR_ioprio_get #define SYS_ioprio_get __NR_ioprio_get
...@@ -52,6 +51,7 @@ in the source distribution for its full text. ...@@ -52,6 +51,7 @@ in the source distribution for its full text.
#include "Object.h" #include "Object.h"
#include <sys/types.h> #include <sys/types.h>
#include <inttypes.h>
#define PROCESS_FLAG_IO 0x0001 #define PROCESS_FLAG_IO 0x0001
......
...@@ -29,6 +29,7 @@ in the source distribution for its full text. ...@@ -29,6 +29,7 @@ in the source distribution for its full text.
#include "Object.h" #include "Object.h"
#include <sys/types.h> #include <sys/types.h>
#include <inttypes.h>
#define PROCESS_FLAG_IO 0x0001 #define PROCESS_FLAG_IO 0x0001
......
...@@ -16,6 +16,10 @@ in the source distribution for its full text. ...@@ -16,6 +16,10 @@ in the source distribution for its full text.
#include "BatteryMeter.h" #include "BatteryMeter.h"
#include "DarwinProcess.h" #include "DarwinProcess.h"
typedef enum DarwinProcessFields {
LAST_PROCESSFIELD = 100,
} DarwinProcessField;
#ifndef CLAMP #ifndef CLAMP
#define CLAMP(x,low,high) (((x)>(high))?(high):(((x)<(low))?(low):(x))) #define CLAMP(x,low,high) (((x)>(high))?(high):(((x)<(low))?(low):(x)))
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment