aboutsummaryrefslogtreecommitdiff
path: root/print/html2latex
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-03-28 11:14:59 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-03-28 11:14:59 +0000
commitdee5f85af3d38d2932f9401f9771e8d25808d6b5 (patch)
tree2231a3608d8a21febe5df99d62763686d8357c77 /print/html2latex
parent7104b3acb7b4ca2393710722915249751e5edffa (diff)
downloadports-dee5f85af3d38d2932f9401f9771e8d25808d6b5.tar.gz
ports-dee5f85af3d38d2932f9401f9771e8d25808d6b5.zip
Include <unistd.h> if __FreeBSD__ >= 3. I didn't see any easier way
to get the BSD macro.
Notes
Notes: svn path=/head/; revision=6047
Diffstat (limited to 'print/html2latex')
-rw-r--r--print/html2latex/files/patch-aa6
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>