aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cutils
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-03-25 19:28:33 +0800
committerasami <asami@FreeBSD.org>1997-03-25 19:28:33 +0800
commit29028d62ae373dbd55b5091c5659868f5915059b (patch)
treee25beb439b8e4b3929107ede74154b11b0a10136 /devel/cutils
parent38e68b8efa9dcb09d8b9fcd04e373d9ae81206d2 (diff)
downloadfreebsd-ports-gnome-29028d62ae373dbd55b5091c5659868f5915059b.tar.gz
freebsd-ports-gnome-29028d62ae373dbd55b5091c5659868f5915059b.tar.zst
freebsd-ports-gnome-29028d62ae373dbd55b5091c5659868f5915059b.zip
Include unistd.h if __FreeBSD__ >= 3.
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>
+