summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc/malloc.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-29 21:35:08 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-29 21:35:08 +0000
commitf24155cd29c6f30158d5c3df03c63b0c9ca30775 (patch)
tree404472105d827f02c41f6d5ff4466457f552733d /libc/stdlib/malloc/malloc.c
parentc85e07fe25123c39fdaf8a6326c02c0baf0c8492 (diff)
Minor cleanup
Diffstat (limited to 'libc/stdlib/malloc/malloc.c')
-rw-r--r--libc/stdlib/malloc/malloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdlib/malloc/malloc.c b/libc/stdlib/malloc/malloc.c
index 432f893e8..9a3bbb332 100644
--- a/libc/stdlib/malloc/malloc.c
+++ b/libc/stdlib/malloc/malloc.c
@@ -54,8 +54,9 @@
*/
#include <features.h>
-#define _POSIX_SOURCE
+#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE
+#endif
#include <sys/types.h>
#include <unistd.h>
#include <limits.h>