diff options
author | asami <asami@FreeBSD.org> | 1997-03-28 19:14:59 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-03-28 19:14:59 +0800 |
commit | 34c12bf5d462bfb09ae48234399a9f4025e578c0 (patch) | |
tree | 3e43ab4085aebad6050ad882be3f676fa9a1c4aa /print/html2latex | |
parent | 8522aa64c5c92125cc0982e7b118ad334c187d41 (diff) | |
download | freebsd-ports-gnome-34c12bf5d462bfb09ae48234399a9f4025e578c0.tar.gz freebsd-ports-gnome-34c12bf5d462bfb09ae48234399a9f4025e578c0.tar.zst freebsd-ports-gnome-34c12bf5d462bfb09ae48234399a9f4025e578c0.zip |
Include <unistd.h> if __FreeBSD__ >= 3. I didn't see any easier way
to get the BSD macro.
Diffstat (limited to 'print/html2latex')
-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> |