summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2000-04-03 08:34:50 +0000
committerDamien Doligez <damien.doligez-inria.fr>2000-04-03 08:34:50 +0000
commit0a68c8b4f2dcee3a045e050f6284dd3abc969b86 (patch)
treefce8eeb958eb9d431873ca7f3b1eb0b83b8c251c
parenta843096a997d0a2914b8cbabd952e4a230d07598 (diff)
petit probleme de compatibilite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--otherlibs/threads/scheduler.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/otherlibs/threads/scheduler.c b/otherlibs/threads/scheduler.c
index e05fbe576..8d85c4958 100644
--- a/otherlibs/threads/scheduler.c
+++ b/otherlibs/threads/scheduler.c
@@ -14,6 +14,9 @@
/* The thread scheduler */
+/* <string.h> must be included before we rededfine bcopy. */
+#include <string.h>
+
#include "callback.h"
#include "config.h"
#include "misc.h"
@@ -34,7 +37,6 @@
#include "Cannot compile libthreads, system calls missing"
#endif
-#include <string.h>
#include <errno.h>
#include <sys/time.h>
#include <sys/types.h>