about summary refs log tree commit diff
path: root/src/temp
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-14 05:10:10 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-14 05:10:10 -0500
commit80695b1d1e64a026c473a33965e680444e863e34 (patch)
treece661eebee55414fadb70ce322ccff6d63f078fb /src/temp
parent7fe308eb9fbebdd39a2e17352b172aa00b381dba (diff)
downloadmusl-80695b1d1e64a026c473a33965e680444e863e34.tar.gz
musl-80695b1d1e64a026c473a33965e680444e863e34.tar.xz
musl-80695b1d1e64a026c473a33965e680444e863e34.zip
begin namespace-cleanup of standard C headers
Diffstat (limited to 'src/temp')
-rw-r--r--src/temp/mkdtemp.c1
-rw-r--r--src/temp/mkstemp.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/temp/mkdtemp.c b/src/temp/mkdtemp.c
index f8b067ec..cb030ee4 100644
--- a/src/temp/mkdtemp.c
+++ b/src/temp/mkdtemp.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/src/temp/mkstemp.c b/src/temp/mkstemp.c
index b1567191..32c6be57 100644
--- a/src/temp/mkstemp.c
+++ b/src/temp/mkstemp.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>