* configure.ac: Added check for mach/mach.h header.
[cacao.git] / src / vm / os.hpp
index e1aa4c458ab10b73589720f07a7e5fa7becd9f1b..5e895d56c897f5fce5f835f849a69d6685f0c6ce 100644 (file)
 # include <unistd.h>
 #endif
 
+#if defined(__DARWIN__)
+# if defined(HAVE_MACH_MACH_H)
+#  include <mach/mach.h>
+# endif
+#endif
+
 #if defined(HAVE_SYS_LOADAVG_H)
 # include <sys/loadavg.h>
 #endif