about summary refs log tree commit diff
path: root/stdio-common/tmpfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tmpfile.c')
-rw-r--r--stdio-common/tmpfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdio-common/tmpfile.c b/stdio-common/tmpfile.c
index 488b43b1f7..6b9dfd44b0 100644
--- a/stdio-common/tmpfile.c
+++ b/stdio-common/tmpfile.c
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdio.h>
+#include <unistd.h>
 
 #ifdef _USE_IN_LIBIO
 # define fdopen _IO_new_fdopen