summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/patches/patch-aj
blob: 87192c1ee18a425db88eec7bc7c641fed1dbaba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>