Files
pkgsrc-ng/net/nasd/patches/patch-bd
2013-09-26 17:14:40 +02:00

29 lines
876 B
Plaintext

$NetBSD: patch-bd,v 1.1.1.1 2005/05/04 08:56:50 agc Exp $
Index: include/nasd/nasd_getopt.h
===================================================================
RCS file: /usr/cvsroot/nasd/nasd-1.3/include/nasd/nasd_getopt.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- include/nasd/nasd_getopt.h 21 Mar 2005 08:52:02 -0000 1.1.1.1
+++ include/nasd/nasd_getopt.h 21 Mar 2005 17:07:28 -0000 1.2
@@ -32,13 +32,13 @@
#include <stdlib.h>
-#if !defined(SOLARIS) && !defined(FREEBSD)
+#if !defined(SOLARIS) && !defined(FREEBSD) && !defined(NETBSD)
#include <getopt.h>
-#endif /* !SOLARIS && !FREEBSD */
+#endif /* !SOLARIS && !FREEBSD && !NETBSD */
-#ifdef FREEBSD
+#if defined(FREEBSD) || defined(NETBSD)
#include <unistd.h>
-#endif /* FREEBSD */
+#endif /* FREEBSD || NETBSD */
extern char *nasd_optarg;
extern int nasd_optind;