diff options
Diffstat (limited to 'news/nn/patches/patch-ax')
-rw-r--r-- | news/nn/patches/patch-ax | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/news/nn/patches/patch-ax b/news/nn/patches/patch-ax index 8d1dd664db2..9b961637012 100644 --- a/news/nn/patches/patch-ax +++ b/news/nn/patches/patch-ax @@ -1,19 +1,20 @@ -$NetBSD: patch-ax,v 1.8 2006/11/12 01:28:03 rillig Exp $ +$NetBSD: patch-ax,v 1.9 2006/12/01 13:54:27 joerg Exp $ ---- nntp.c.orig 2005-04-20 01:06:51.000000000 +0200 -+++ nntp.c 2006-11-12 02:14:49.000000000 +0100 -@@ -57,8 +58,9 @@ +--- nntp.c.orig 2005-04-19 23:06:51.000000000 +0000 ++++ nntp.c +@@ -57,10 +57,9 @@ #endif /* This is necessary due to the definitions in m-XXX.h */ -+/* IRIX needs it for struct sockaddr_in */ ++/* Many systems needs it for struct sockaddr_in */ -#if !defined(NETWORK_DATABASE) || defined(NETWORK_BYTE_ORDER) -+#if !defined(NETWORK_DATABASE) || defined(NETWORK_BYTE_ORDER) || defined(__sgi) || defined(__NetBSD__) #include <netinet/in.h> - #endif +-#endif + + #ifdef EXCELAN -@@ -915,7 +917,11 @@ nntp_check(void) +@@ -915,7 +914,11 @@ nntp_check(void) server_real_name = hp->h_name; else nn_exitmsg(1, "NNTPSERVER is invalid"); |