projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9d4804
)
add #if APPLE around include of mach.h
author
Duane Wandless
<dwandless@pixmaclt10.local>
Sat, 19 Feb 2011 16:19:36 +0000
(11:19 -0500)
committer
Miguel de Icaza
<miguel@gnome.org>
Sat, 19 Feb 2011 17:03:59 +0000
(12:03 -0500)
mono/utils/mono-proclib.c
patch
|
blob
|
history
diff --git
a/mono/utils/mono-proclib.c
b/mono/utils/mono-proclib.c
index c311f06052672a5e6ed064fa45b60955fd5f073d..00f3f18be77e7e0f9454c231ba7a5129dcfcc89d 100644
(file)
--- a/
mono/utils/mono-proclib.c
+++ b/
mono/utils/mono-proclib.c
@@
-18,7
+18,9
@@
#include <sys/types.h>
#include <sys/sysctl.h>
#include <sys/proc.h>
+#if defined(__APPLE__)
#include <mach/mach.h>
+#endif
#ifdef HAVE_SYS_USER_H
#include <sys/user.h>
#endif