aboutsummaryrefslogtreecommitdiffstats
path: root/misc/findutils/files/patch-gnulib-lib-fdopendir.c
blob: 4d9811dd7a54f742d89bb5fae6e725e3f652e846 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- gnulib/lib/fdopendir.c.orig 2011-04-02 15:37:38.000000000 +0000
+++ gnulib/lib/fdopendir.c  2011-05-30 21:05:02.000000000 +0000
@@ -182,9 +182,11 @@
 
 # include <errno.h>
 # include <sys/stat.h>
+# include <dirent.h>
 
 # undef fdopendir
 
+extern DIR *fdopendir(int);
 /* Like fdopendir, but work around GNU/Hurd bug by validating FD.  */
 
 DIR *