diff options
Diffstat (limited to 'news/nntpclnt/patches/patch-ad')
-rw-r--r-- | news/nntpclnt/patches/patch-ad | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/news/nntpclnt/patches/patch-ad b/news/nntpclnt/patches/patch-ad new file mode 100644 index 00000000000..67072be4600 --- /dev/null +++ b/news/nntpclnt/patches/patch-ad @@ -0,0 +1,28 @@ +$NetBSD: patch-ad,v 1.1 2005/04/01 03:28:36 kim Exp $ + +--- inews.c.orig 1994-08-11 17:37:50.000000000 -0400 ++++ inews.c 2005-03-31 22:22:59.000000000 -0500 +@@ -17,6 +17,11 @@ + + #include <stdio.h> + #include <ctype.h> ++#ifdef USG ++#include <string.h> ++#else /* not USG */ ++#include <strings.h> ++#endif /* not USG */ + #include "config.h" + #include "nntp.h" + #include "nntpclnt.h" +@@ -27,11 +32,6 @@ + extern struct passwd *getpwnam(); + #endif + #endif +-#ifdef USG +-#include <string.h> +-#else /* not USG */ +-#include <strings.h> +-#endif /* not USG */ + /* for gen_frompath() */ + #define FROM 1 + #define PATH 2 |