summaryrefslogtreecommitdiff
path: root/textproc/cawf/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/cawf/patches/patch-ab')
-rw-r--r--textproc/cawf/patches/patch-ab22
1 files changed, 22 insertions, 0 deletions
diff --git a/textproc/cawf/patches/patch-ab b/textproc/cawf/patches/patch-ab
new file mode 100644
index 00000000000..72068457a95
--- /dev/null
+++ b/textproc/cawf/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2005/11/08 19:33:50 tv Exp $
+
+--- proto.h.orig 1997-02-22 09:26:18.000000000 -0500
++++ proto.h
+@@ -36,6 +36,7 @@
+ # else /* !defined(USG) */
+ #include <strings.h>
+ # endif /* defined(USG) */
++#include <unistd.h>
+ #else /* !defined(UNIX) */
+ #include <string.h>
+ #endif /* defined(UNIX) */
+@@ -103,7 +104,9 @@ _PROTOTYPE(int Findparms,(unsigned char
+ _PROTOTYPE(int Findscale,(int n, double v, int e));
+ _PROTOTYPE(unsigned char *Findstr,(unsigned char *nm, unsigned char *s, int e));
+ _PROTOTYPE(void Free,(unsigned char **p));
++#if !defined(UNIX)
+ _PROTOTYPE(int getopt,(int argc, char **argv, char *opts));
++#endif
+ _PROTOTYPE(int LenprtHF,(unsigned char *s, int p, int t, unsigned char **b, int bl));
+ _PROTOTYPE(int main,(int argc, char *argv[]));
+ _PROTOTYPE(void Macro,(unsigned char *inp));