summaryrefslogtreecommitdiff
path: root/lang/caml-light/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'lang/caml-light/patches/patch-ag')
-rw-r--r--lang/caml-light/patches/patch-ag14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/caml-light/patches/patch-ag b/lang/caml-light/patches/patch-ag
new file mode 100644
index 00000000000..7b1d20dc1f3
--- /dev/null
+++ b/lang/caml-light/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1 2008/09/05 02:07:51 dholland Exp $
+
+Fix 64-bit build.
+
+--- runtime/sys.c~ 1997-10-16 09:36:19.000000000 -0400
++++ runtime/sys.c 2008-09-04 21:13:32.000000000 -0400
+@@ -1,6 +1,7 @@
+ /* Basic system calls */
+
+ #include <errno.h>
++#include <unistd.h>
+ #ifdef __MWERKS__
+ #include "myfcntl.h"
+ #else