summaryrefslogtreecommitdiff
path: root/lang/moscow_ml/patches/patch-ak
blob: 1ab442c08d6f5201e2eb10b2f9b3077b16b15d15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ak,v 1.2 1998/08/07 11:09:22 agc Exp $

--- 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>