summaryrefslogtreecommitdiff
path: root/src/temp/mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/temp/mktemp.c')
-rw-r--r--src/temp/mktemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/temp/mktemp.c b/src/temp/mktemp.c
index 67130e16..4ab0df20 100644
--- a/src/temp/mktemp.c
+++ b/src/temp/mktemp.c
@@ -1,6 +1,6 @@
+#define _GNU_SOURCE
#include <string.h>
-#include <fcntl.h>
-#include <unistd.h>
+#include <stdlib.h>
#include <errno.h>
#include <sys/stat.h>