summaryrefslogtreecommitdiff
path: root/include/strings.h
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>1998-05-06 17:12:45 +0000
committerkleink <kleink@NetBSD.org>1998-05-06 17:12:45 +0000
commitf991579d160bb75afdae2be38dc20816814acc6d (patch)
treeba520ea2da89ed67c62125efa8c29a47000e0ab8 /include/strings.h
parent80495e6ea61e989351b1eaee1a7a73e2bbb303eb (diff)
Don't make NULL available to _XOPEN_SOURCE.
Diffstat (limited to 'include/strings.h')
-rw-r--r--include/strings.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/strings.h b/include/strings.h
index c8daa703abb..367121a327c 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -1,4 +1,4 @@
-/* $NetBSD: strings.h,v 1.5 1998/04/27 16:48:09 kleink Exp $ */
+/* $NetBSD: strings.h,v 1.6 1998/05/06 17:12:45 kleink Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -40,15 +40,18 @@
#define _STRINGS_H_
#include <machine/ansi.h>
+#include <sys/featuretest.h>
#ifdef _BSD_SIZE_T_
typedef _BSD_SIZE_T_ size_t;
#undef _BSD_SIZE_T_
#endif
+#ifndef _XOPEN_SOURCE
#ifndef NULL
#define NULL 0
#endif
+#endif
#include <sys/cdefs.h>