summaryrefslogtreecommitdiff
path: root/libc/stdio/tmpnam_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/tmpnam_r.c')
-rw-r--r--libc/stdio/tmpnam_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdio/tmpnam_r.c b/libc/stdio/tmpnam_r.c
index 6309aac06..eec589e39 100644
--- a/libc/stdio/tmpnam_r.c
+++ b/libc/stdio/tmpnam_r.c
@@ -17,6 +17,7 @@
Boston, MA 02111-1307, USA. */
#include <stdio.h>
+#include "../misc/internals/tempname.h"
/* Generate a unique filename in P_tmpdir. If S is NULL return NULL.
This makes this function thread safe. */