diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-11-08 02:40:03 +0800 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-11-08 02:40:03 +0800 |
commit | 94d274667c8e49d65dbd78ffd134933ac43e6a7b (patch) | |
tree | ea4691b1227db78a1522d412c50c42613a72bc8a | |
parent | 72125803430655cb890b81e4203fd061ef5344dd (diff) | |
download | freebsd-ports-gnome-94d274667c8e49d65dbd78ffd134933ac43e6a7b.tar.gz freebsd-ports-gnome-94d274667c8e49d65dbd78ffd134933ac43e6a7b.tar.zst freebsd-ports-gnome-94d274667c8e49d65dbd78ffd134933ac43e6a7b.zip |
Hopefully avoid a problem with CURRENT
/usr/include/sys/file.h:130: syntax error before "u_int"
-rw-r--r-- | news/nntp/files/patch-xmit-nntpxmit.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/news/nntp/files/patch-xmit-nntpxmit.c b/news/nntp/files/patch-xmit-nntpxmit.c index c713d21288eb..eba0754e2111 100644 --- a/news/nntp/files/patch-xmit-nntpxmit.c +++ b/news/nntp/files/patch-xmit-nntpxmit.c @@ -1,5 +1,5 @@ --- xmit/nntpxmit.c.orig Sat Dec 3 23:37:58 1994 -+++ xmit/nntpxmit.c Mon Nov 4 05:55:31 2002 ++++ xmit/nntpxmit.c Thu Nov 7 19:40:02 2002 @@ -64,8 +64,12 @@ */ @@ -13,7 +13,17 @@ #include <ctype.h> #include <sys/types.h> #include <sys/time.h> -@@ -445,7 +449,7 @@ +@@ -75,7 +79,9 @@ + #include <sys/times.h> + extern time_t time(); + #endif ++#ifdef __FreeBSD__ + #include <sys/file.h> ++#endif + #include <fcntl.h> + #include <signal.h> + #ifdef USG +@@ -445,7 +451,7 @@ /* Hmph. The file didn't exist. */ error = sendcmd("."); } else { |