about summary refs log tree commit diff
path: root/stdio-common/tst-ungetc.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-ungetc.c')
-rw-r--r--stdio-common/tst-ungetc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdio-common/tst-ungetc.c b/stdio-common/tst-ungetc.c
index 67c45d4028..ba74a84f7f 100644
--- a/stdio-common/tst-ungetc.c
+++ b/stdio-common/tst-ungetc.c
@@ -1,6 +1,7 @@
 /* Test for ungetc bugs.  */
 
 #include <stdio.h>
+#include <unistd.h>
 
 #define assert(x) \
   if (!(x)) \