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 sys/loadavg.h (for OpenSolaris).
[cacao.git]
/
src
/
vm
/
os.hpp
diff --git
a/src/vm/os.hpp
b/src/vm/os.hpp
index 4f92a6365c413eacc3c8c7a7b5e518a491f89035..c812c33f9d684eb08265f8ed0d32a328b7e77d5a 100644
(file)
--- a/
src/vm/os.hpp
+++ b/
src/vm/os.hpp
@@
-89,6
+89,10
@@
# include <unistd.h>
#endif
+#if defined(HAVE_SYS_LOADAVG_H)
+# include <sys/loadavg.h>
+#endif
+
#if defined(HAVE_SYS_MMAN_H)
# include <sys/mman.h>
#endif