openbsd-ports/lang/ocaml/patches/patch-otherlibs_systhreads_posix_c
2003-12-31 17:05:28 +00:00

15 lines
434 B
Plaintext

$OpenBSD: patch-otherlibs_systhreads_posix_c,v 1.1 2003/12/31 17:05:28 sturm Exp $
--- otherlibs/systhreads/posix.c.orig 2003-09-30 15:27:09.000000000 +0200
+++ otherlibs/systhreads/posix.c 2003-09-30 15:28:31.000000000 +0200
@@ -25,9 +25,8 @@
#endif
#include <signal.h>
#include <sys/time.h>
-#ifdef __linux__
+#include <sys/types.h>
#include <unistd.h>
-#endif
#include "alloc.h"
#include "backtrace.h"
#include "callback.h"