summaryrefslogtreecommitdiff
path: root/libc/stdio/tmpfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/tmpfile.c')
-rw-r--r--libc/stdio/tmpfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdio/tmpfile.c b/libc/stdio/tmpfile.c
index f19c497a4..d7940b139 100644
--- a/libc/stdio/tmpfile.c
+++ b/libc/stdio/tmpfile.c
@@ -19,6 +19,7 @@
#include <features.h>
#include <stdio.h>
#include <unistd.h>
+#include "../misc/internals/tempname.h"
/* This returns a new stream opened on a temporary file (generated
by tmpnam). The file is opened with mode "w+b" (binary read/write).