openbsd-ports/sysutils/contool/patches/patch-manifest_h
pvalchev ab4b094775 - store getopt's return value into an int, not a char
- getopt(3) returns -1 when out of arguments, not EOF
- rename patches with update-patches
2002-02-23 23:45:18 +00:00

22 lines
517 B
Plaintext

$OpenBSD: patch-manifest_h,v 1.1 2002/02/23 23:45:18 pvalchev Exp $
--- manifest.h.orig Thu Feb 24 10:55:52 1994
+++ manifest.h Sat Feb 23 16:38:21 2002
@@ -23,6 +23,9 @@
/* */
/************************************************************************/
+/* for BSD definition */
+#include <sys/param.h>
+
#define TRUE 1
#define FALSE 0
@@ -38,5 +41,7 @@
#define cond_free(x) {if (x) free(x);}
PUBLIC int errno;
+#if !(defined(BSD) && (BSD >= 199103))
PUBLIC char *sys_errlist[];
+#endif