summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'lang/moscow_ml/patches/patch-aj')
-rw-r--r--lang/moscow_ml/patches/patch-aj16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/moscow_ml/patches/patch-aj b/lang/moscow_ml/patches/patch-aj
new file mode 100644
index 00000000000..87192c1ee18
--- /dev/null
+++ b/lang/moscow_ml/patches/patch-aj
@@ -0,0 +1,16 @@
+--- runtime/mosml.c.orig Sun Jul 27 15:35:09 1997
++++ runtime/mosml.c Mon Feb 16 21:41:07 1998
+@@ -1,5 +1,13 @@
+ /* Moscow SML primitives */
+
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#include <sys/param.h>
++#endif
++
++#if (defined(BSD) && BSD >= 199306)
++#define HAS_STRERROR
++#endif
++
+ #include <math.h>
+ #include <sys/time.h>
+ #include <sys/times.h>