blob: badc05ea5d5fc06a91cd65d0bc4c473d04f12a81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-aj,v 1.2 1998/08/07 11:09:22 agc Exp $
--- 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>
|