add #if APPLE around include of mach.h
authorDuane Wandless <dwandless@pixmaclt10.local>
Sat, 19 Feb 2011 16:19:36 +0000 (11:19 -0500)
committerMiguel de Icaza <miguel@gnome.org>
Sat, 19 Feb 2011 17:03:59 +0000 (12:03 -0500)
mono/utils/mono-proclib.c

index c311f06052672a5e6ed064fa45b60955fd5f073d..00f3f18be77e7e0f9454c231ba7a5129dcfcc89d 100644 (file)
@@ -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