Missing #include
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 4 Sep 2011 09:32:40 +0000 (12:32 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 4 Sep 2011 09:33:14 +0000 (12:33 +0300)
compat/fdopendir.c

index b67bdf1..296c1b6 100644 (file)
@@ -27,6 +27,9 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 #include <dirent.h>
 
 DIR *fdopendir (int fd)