Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
01695770
Commit
01695770
authored
Feb 04, 2018
by
Hisham Muhammad
Browse files
Fix inttypes.h header
parent
0e38be9e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Process.c
View file @
01695770
...
...
@@ -34,7 +34,6 @@ in the source distribution for its full text.
(defined(HAVE_SYS_SYSMACROS_H) && HAVE_SYS_SYSMACROS_H)
#include <sys/sysmacros.h>
#endif
#include <inttypes.h>
#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 <sys/types.h>
#include <inttypes.h>
#define PROCESS_FLAG_IO 0x0001
...
...
Process.h
View file @
01695770
...
...
@@ -29,6 +29,7 @@ in the source distribution for its full text.
#include "Object.h"
#include <sys/types.h>
#include <inttypes.h>
#define PROCESS_FLAG_IO 0x0001
...
...
darwin/Platform.h
View file @
01695770
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment