summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/patches/patch-ak
blob: aed8cd54dc45582c7c4d53872811efa34b7bef61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- runtime/sys.c.orig	Sun Jul 27 15:36:44 1997
+++ runtime/sys.c	Mon Feb 16 21:41:26 1998
@@ -1,5 +1,13 @@
 /* Basic system calls */
 
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
+#if (defined(BSD) && BSD >= 199306)
+#define HAS_STRERROR
+#endif
+
 #include <errno.h>
 #include <sys/types.h>
 #include <fcntl.h>