From 053cd44bf8bb3e3d8cec7c1013ea3fcfba320560 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Tue, 25 Mar 1997 11:28:33 +0000 Subject: [PATCH] Include unistd.h if __FreeBSD__ >= 3. --- devel/cutils/files/patch-aa | 104 ++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 devel/cutils/files/patch-aa 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 + #include ++/* needed for getopt() declarations */ ++#if defined(__FreeBSD__) && __FreeBSD__ >= 3 ++#include ++#endif + #include + #include + +--- ./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 + #include + #include ++/* needed for getopt() declarations */ ++#if defined(__FreeBSD__) && __FreeBSD__ >= 3 ++#include ++#endif + #include + #include + #include +--- ./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 + #include ++/* needed for getopt() declarations */ ++#if defined(__FreeBSD__) && __FreeBSD__ >= 3 ++#include ++#endif + #include + #include + +--- ./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 + #include ++/* needed for getopt() declarations */ ++#if defined(__FreeBSD__) && __FreeBSD__ >= 3 ++#include ++#endif + #include + + #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 + #include ++/* needed for getopt() declarations */ ++#if defined(__FreeBSD__) && __FreeBSD__ >= 3 ++#include ++#endif + #include + #include + +--- ./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 + #include ++/* needed for getopt() declarations */ ++#if defined(__FreeBSD__) && __FreeBSD__ >= 3 ++#include ++#endif + #include + #include + +--- ./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 + #include ++/* needed for getopt() declarations */ ++#if defined(__FreeBSD__) && __FreeBSD__ >= 3 ++#include ++#endif + #include + #include + +--- ./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 + #include ++/* needed for getopt() declarations */ ++#if defined(__FreeBSD__) && __FreeBSD__ >= 3 ++#include ++#endif + #include + #include +