summaryrefslogtreecommitdiff
path: root/lang/smlnj11072/patches/patch-src_runtime_gc_mem-writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/smlnj11072/patches/patch-src_runtime_gc_mem-writer.c')
-rw-r--r--lang/smlnj11072/patches/patch-src_runtime_gc_mem-writer.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/smlnj11072/patches/patch-src_runtime_gc_mem-writer.c b/lang/smlnj11072/patches/patch-src_runtime_gc_mem-writer.c
new file mode 100644
index 00000000000..0971ae32d52
--- /dev/null
+++ b/lang/smlnj11072/patches/patch-src_runtime_gc_mem-writer.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_runtime_gc_mem-writer.c,v 1.1 2016/07/03 19:35:36 dholland Exp $
+
+Use standard headers.
+
+--- src/runtime/gc/mem-writer.c~ 2000-06-01 18:34:03.000000000 +0000
++++ src/runtime/gc/mem-writer.c
+@@ -5,6 +5,7 @@
+ * An implementation of the abstract writers on top of memory regions.
+ */
+
++#include <string.h>
+ #include "ml-base.h"
+ #include "writer.h"
+