summaryrefslogtreecommitdiff
path: root/devel/cutils
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-03-25 11:28:33 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-03-25 11:28:33 +0000
commit053cd44bf8bb3e3d8cec7c1013ea3fcfba320560 (patch)
tree83f7d1c9e50d67c74c671dea570ad9327a952559 /devel/cutils
parentShare detex with everyone. (diff)
Include unistd.h if __FreeBSD__ >= 3.
Notes
Notes: svn path=/head/; revision=6014
Diffstat (limited to 'devel/cutils')
-rw-r--r--devel/cutils/files/patch-aa104
1 files changed, 104 insertions, 0 deletions
diff --git a/devel/cutils/files/patch-aa b/devel/cutils/files/patch-aa
new file mode 100644
index 000000000000..0d2dfc37cd13
--- /dev/null
+++ b/devel/cutils/files/patch-aa
@@ -0,0 +1,104 @@
+--- ./src/cdecl/cdecl.c.org Thu Nov 14 07:27:45 1996
++++ ./src/cdecl/cdecl.c Tue Mar 25 03:11:57 1997
+@@ -31,6 +31,10 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++/* needed for getopt() declarations */
++#if defined(__FreeBSD__) && __FreeBSD__ >= 3
++#include <unistd.h>
++#endif
+ #include <string.h>
+ #include <err.h>
+
+--- ./src/cinfo/cinfo/cinfo.c.org Thu Nov 14 07:27:49 1996
++++ ./src/cinfo/cinfo/cinfo.c Tue Mar 25 03:16:33 1997
+@@ -32,6 +32,10 @@
+ #include <ctype.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++/* needed for getopt() declarations */
++#if defined(__FreeBSD__) && __FreeBSD__ >= 3
++#include <unistd.h>
++#endif
+ #include <string.h>
+ #include <err.h>
+ #include <dirent.h>
+--- ./src/cinfo/cinfoc/cinfoc.c.org Tue Nov 26 06:55:25 1996
++++ ./src/cinfo/cinfoc/cinfoc.c Tue Mar 25 03:11:57 1997
+@@ -31,6 +31,10 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++/* needed for getopt() declarations */
++#if defined(__FreeBSD__) && __FreeBSD__ >= 3
++#include <unistd.h>
++#endif
+ #include <string.h>
+ #include <err.h>
+
+--- ./src/cinfo/cinfodc/cinfodc.c.org Tue Nov 26 06:55:26 1996
++++ ./src/cinfo/cinfodc/cinfodc.c Tue Mar 25 03:11:57 1997
+@@ -31,6 +31,10 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++/* needed for getopt() declarations */
++#if defined(__FreeBSD__) && __FreeBSD__ >= 3
++#include <unistd.h>
++#endif
+ #include <err.h>
+
+ #include "version.h"
+--- ./src/chilight/chilight.c.org Sun Dec 8 06:07:28 1996
++++ ./src/chilight/chilight.c Tue Mar 25 03:11:57 1997
+@@ -31,6 +31,10 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++/* needed for getopt() declarations */
++#if defined(__FreeBSD__) && __FreeBSD__ >= 3
++#include <unistd.h>
++#endif
+ #include <string.h>
+ #include <err.h>
+
+--- ./src/cundecl/cundecl.c.org Thu Nov 14 07:27:54 1996
++++ ./src/cundecl/cundecl.c Tue Mar 25 03:11:57 1997
+@@ -31,6 +31,10 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++/* needed for getopt() declarations */
++#if defined(__FreeBSD__) && __FreeBSD__ >= 3
++#include <unistd.h>
++#endif
+ #include <string.h>
+ #include <err.h>
+
+--- ./src/yyextract/yyextract.c.org Thu Nov 14 07:27:57 1996
++++ ./src/yyextract/yyextract.c Tue Mar 25 03:11:58 1997
+@@ -31,6 +31,10 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++/* needed for getopt() declarations */
++#if defined(__FreeBSD__) && __FreeBSD__ >= 3
++#include <unistd.h>
++#endif
+ #include <string.h>
+ #include <err.h>
+
+--- ./src/yyref/yyref.c.org Thu Nov 14 07:27:58 1996
++++ ./src/yyref/yyref.c Tue Mar 25 03:11:58 1997
+@@ -31,6 +31,10 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++/* needed for getopt() declarations */
++#if defined(__FreeBSD__) && __FreeBSD__ >= 3
++#include <unistd.h>
++#endif
+ #include <string.h>
+ #include <err.h>
+