mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 23:00:30 -04:00
Changelog: https://lists.gnu.org/archive/html/bug-findutils/2021-01/msg00044.html PR: 252558 Submitted by: Klaus Aehlig <aehlig@linta.de> (maintainer) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D28101
14 lines
352 B
C
14 lines
352 B
C
--- gl/lib/fdopendir.c.orig 2021-01-01 18:54:11 UTC
|
|
+++ gl/lib/fdopendir.c
|
|
@@ -227,9 +227,11 @@ fd_clone_opendir (int fd, struct saved_cwd const *cwd)
|
|
|
|
# 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 *
|