pkgsrc/sysutils/9base/patches/patch-bc

14 lines
452 B
Text
Raw Normal View History

$NetBSD: patch-bc,v 1.1 2005/12/06 18:50:36 rillig Exp $
--- lib9/u.h.orig Mon Nov 14 11:22:41 2005
+++ lib9/u.h Tue Dec 6 19:43:23 2005
@@ -16,7 +16,7 @@ extern "C" {
#define _BSD_SOURCE 1
#define _NETBSD_SOURCE 1 /* NetBSD */
#define _SVID_SOURCE 1
-#if !defined(__APPLE__) && !defined(__OpenBSD__)
+#if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
# define _XOPEN_SOURCE 1000
# define _XOPEN_SOURCE_EXTENDED 1
#endif