pkgsrc/net/nasd/patches/patch-bd
agc 4b619e493a Initial import of nasd-1.3, a prototype storage implementation, from CMU.
The original tar file has trailing base64 checksums, so I have
repackaged the tar file for just now.

	This is release 1.3 of the Parallel Data Laboratory NASD
	software prototype.  The release includes the NASD drive
	prototype, the NASD-NFS filemanager, simple client APIs, a
	regression-testing suite, sample programs, a snapshot of
	Cheops (which is one implementation of aggregation over
	multiple NASDs), and some basic documentation.
2005-05-04 08:56:49 +00:00

28 lines
876 B
Text

$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;