about summary refs log tree commit diff
path: root/dirent/bug-readdir1.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirent/bug-readdir1.c')
-rw-r--r--dirent/bug-readdir1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dirent/bug-readdir1.c b/dirent/bug-readdir1.c
index 1f70722dd2..4c3521dbb5 100644
--- a/dirent/bug-readdir1.c
+++ b/dirent/bug-readdir1.c
@@ -3,6 +3,7 @@
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include <sys/types.h>