$NetBSD$

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;
