pkgsrc/lang/caml-light/patches/patch-aj

14 lines
355 B
Text
Raw Normal View History

$NetBSD: patch-aj,v 1.1 2008/09/05 02:07:51 dholland Exp $
Fix 64-bit build.
--- launch/camlexec.c~ 1996-11-25 10:03:46.000000000 -0500
+++ launch/camlexec.c 2008-09-04 21:22:57.000000000 -0400
@@ -1,3 +1,6 @@
+#include <string.h>
+#include <unistd.h>
+
#ifdef MSDOS
char * runtime_name = "camlrun.exe";
char * errmsg = "Cannot exec camlrun.exe.\n";