diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-03-28 11:14:59 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-03-28 11:14:59 +0000 |
commit | dee5f85af3d38d2932f9401f9771e8d25808d6b5 (patch) | |
tree | 2231a3608d8a21febe5df99d62763686d8357c77 /print | |
parent | Include <unistd.h> for getopt() prototypes if BSD >= 199506 (Lite2). (diff) |
Include <unistd.h> if __FreeBSD__ >= 3. I didn't see any easier way
to get the BSD macro.
Diffstat (limited to 'print')
-rw-r--r-- | print/html2latex/files/patch-aa | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/print/html2latex/files/patch-aa b/print/html2latex/files/patch-aa index 560dc8afd1e6..ef88fa3360ac 100644 --- a/print/html2latex/files/patch-aa +++ b/print/html2latex/files/patch-aa @@ -52,12 +52,16 @@ Only in .: diff diff -u ../html2latex-0.9c.old/html2latex.c ./html2latex.c --- ../html2latex-0.9c.old/html2latex.c Wed Jun 16 05:55:10 1993 +++ ./html2latex.c Fri Mar 29 16:41:17 1996 -@@ -9,7 +9,9 @@ +@@ -9,7 +9,13 @@ #include "HTMLparse.h" #include <stdio.h> #include <stdlib.h> +#if NEED_GETOPT_H #include <getopt.h> ++#else ++#if defined(__FreeBSD__) && __FreeBSD__ >= 3 ++#include <unistd.h> ++#endif +#endif #include <ctype.h> #include <string.h> |