mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
15 lines
354 B
C
15 lines
354 B
C
--- 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 *
|
|
|