From 737d67b27dda067c68de1b915d6e534c1de2dc15 Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Tue, 9 Dec 1997 09:10:53 +0000 Subject: [PATCH] Portage OpenBSD git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1835 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/threads/scheduler.c | 4 ++++ otherlibs/unix/select.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/otherlibs/threads/scheduler.c b/otherlibs/threads/scheduler.c index 5881bc6b2d5d..0e94489bd166 100644 --- a/otherlibs/threads/scheduler.c +++ b/otherlibs/threads/scheduler.c @@ -32,6 +32,10 @@ #include "Cannot compile libthreads, system calls missing" #endif +#ifdef __OpenBSD__ +#include +#endif + #include #include #include diff --git a/otherlibs/unix/select.c b/otherlibs/unix/select.c index c2475606914d..5cbf42ca10c2 100644 --- a/otherlibs/unix/select.c +++ b/otherlibs/unix/select.c @@ -23,6 +23,11 @@ #include #ifdef HAS_SYS_SELECT_H #include + +#endif + +#ifdef __OpenBSD__ +#include #endif #ifdef FD_ISSET