summaryrefslogtreecommitdiff
path: root/news/nntpclnt/patches/patch-ad
blob: 67072be46007603dd8a5b39c79bff3bf6fe62381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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