about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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>