aboutsummaryrefslogtreecommitdiffstats
path: root/libc/upstream-netbsd/netbsd-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/upstream-netbsd/netbsd-compat.h')
-rw-r--r--libc/upstream-netbsd/netbsd-compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/upstream-netbsd/netbsd-compat.h b/libc/upstream-netbsd/netbsd-compat.h
index f830f3839..84be93194 100644
--- a/libc/upstream-netbsd/netbsd-compat.h
+++ b/libc/upstream-netbsd/netbsd-compat.h
@@ -25,6 +25,7 @@
#define __type_fit(t, a) (0 == 0)
#define _GNU_SOURCE
+#define __USE_BSD
// TODO: we don't yet have thread-safe environment variables.
#define __readlockenv() 0