pkgsrc/net/nasd/patches/patch-be

23 lines
821 B
Text
Raw Normal View History

$NetBSD: patch-be,v 1.1.1.1 2005/05/04 08:56:50 agc Exp $
Index: include/nasd/nasd_mem.h
===================================================================
RCS file: /usr/cvsroot/nasd/nasd-1.3/include/nasd/nasd_mem.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- include/nasd/nasd_mem.h 21 Mar 2005 08:52:02 -0000 1.1.1.1
+++ include/nasd/nasd_mem.h 21 Mar 2005 17:07:28 -0000 1.2
@@ -42,9 +42,9 @@
#endif /* KERNEL */
#endif /* LINUX */
-#if defined(FREEBSD) || defined(SOLARIS)
+#if defined(FREEBSD) || defined(SOLARIS) || defined(NETBSD)
#include <stdlib.h>
-#endif /* FREEBSD || SOLARIS */
+#endif /* FREEBSD || SOLARIS || NETBSD */
/* This should be correct on all platforms, but just in case it isn't,
you can override it from the platform-specific nasd_blah_mem.h