aboutsummaryrefslogtreecommitdiffstats
path: root/libio/oldtmpfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/oldtmpfile.c')
-rw-r--r--libio/oldtmpfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libio/oldtmpfile.c b/libio/oldtmpfile.c
index af467a6e5a..f09ee0600c 100644
--- a/libio/oldtmpfile.c
+++ b/libio/oldtmpfile.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <unistd.h>
#include <iolibio.h>
+#include <stdio-common/tmpdir.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).