blob: 02e4ebe147bd336b948719356a08935af6b6baf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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
|