]> andersk Git - openssh.git/blobdiff - configure.ac
- (dtucker) d_type is not mandated by POSIX, so add fallback code using
[openssh.git] / configure.ac
index 4c8eef6e0f35f3b909cc050a8403a44bd8cb1091..70ad1ad67e92b32c4deb724ffbdd76ce393cc88f 100644 (file)
@@ -1137,6 +1137,8 @@ AC_CHECK_DECL(DTTOIF,
 #include <fs/ffs/dir.h>
   ])
 
+AC_CHECK_MEMBERS([struct dirent.d_type],,, [#include <dirent.h>])
+
 AC_MSG_CHECKING([for /proc/pid/fd directory])
 if test -d "/proc/$$/fd" ; then
        AC_DEFINE(HAVE_PROC_PID, 1, [Define if you have /proc/$pid/fd])
This page took 0.035037 seconds and 4 git commands to generate.