projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* configure.ac: Added check for mach/mach.h header.
[cacao.git]
/
src
/
vm
/
os.hpp
diff --git
a/src/vm/os.hpp
b/src/vm/os.hpp
index e1aa4c458ab10b73589720f07a7e5fa7becd9f1b..5e895d56c897f5fce5f835f849a69d6685f0c6ce 100644
(file)
--- a/
src/vm/os.hpp
+++ b/
src/vm/os.hpp
@@
-89,6
+89,12
@@
# 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