summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-11-07 18:40:03 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-11-07 18:40:03 +0000
commit94d274667c8e49d65dbd78ffd134933ac43e6a7b (patch)
treeea4691b1227db78a1522d412c50c42613a72bc8a /news
parentupgrade to 0.75 (diff)
Hopefully avoid a problem with CURRENT
/usr/include/sys/file.h:130: syntax error before "u_int"
Notes
Notes: svn path=/head/; revision=69686
Diffstat (limited to 'news')
-rw-r--r--news/nntp/files/patch-xmit-nntpxmit.c14
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 {