summaryrefslogtreecommitdiffstats
path: root/byterun/unix.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2002-04-26 13:33:25 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2002-04-26 13:33:25 +0000
commit962f2894a3912d5a5fe1b437d984ad677aecb904 (patch)
tree81a126c0dce1c14974a464825de102a5a0cb408c /byterun/unix.c
parent30d618e98b471340e73d7fc23da739d871fc3a32 (diff)
Soyons prudent avec unistd.h
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4749 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/unix.c')
-rw-r--r--byterun/unix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/byterun/unix.c b/byterun/unix.c
index 62961c40e..d1e29ec39 100644
--- a/byterun/unix.c
+++ b/byterun/unix.c
@@ -25,6 +25,9 @@
#ifdef SUPPORT_DYNAMIC_LINKING
#include <dlfcn.h>
#endif
+#ifdef HAS_UNISTD
+#include <unistd.h>
+#endif
#include "memory.h"
#include "misc.h"
#include "osdeps.h"