mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
lib/replace: check if we have dirfd()
Note: we only use this internally and don't replace it by default. metze
This commit is contained in:
parent
24a1b556fc
commit
c28952c555
@ -7,6 +7,9 @@ AC_CACHE_CHECK([for broken readdir],libreplace_cv_READDIR_NEEDED,[
|
||||
[libreplace_cv_READDIR_NEEDED="assuming not"])
|
||||
])
|
||||
|
||||
AC_CHECK_FUNCS(dirfd)
|
||||
AC_HAVE_DECL(dirfd, [#include <dirent.h>])
|
||||
|
||||
#
|
||||
# try to replace with getdirentries() if needed
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user