diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-11-08 02:40:03 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-11-08 02:40:03 +0800 |
commit | bb4645b4c45226ad91a6e7c9cf8f5104fd90e2ad (patch) | |
tree | e0042e3481c6fd032ee9e16b76496a3bd3ad9a0e /news | |
parent | 1e47531fac9d66d5fe7b1041e2721c3e192a7495 (diff) | |
download | freebsd-ports-gnome-bb4645b4c45226ad91a6e7c9cf8f5104fd90e2ad.tar.gz freebsd-ports-gnome-bb4645b4c45226ad91a6e7c9cf8f5104fd90e2ad.tar.zst freebsd-ports-gnome-bb4645b4c45226ad91a6e7c9cf8f5104fd90e2ad.zip |
Hopefully avoid a problem with CURRENT
/usr/include/sys/file.h:130: syntax error before "u_int"
Diffstat (limited to 'news')
-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 { |