summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 51858b7822..68b97badf1 100644
--- a/configure.in
+++ b/configure.in
@@ -317,16 +317,12 @@ dnl -------------------------------------------------------------------------
dnl Checks for header files.
AC_HEADER_STDC
+AC_HEADER_DIRENT
-dnl In QNX opendir resides in libc but dirent.h is still required
-if test "`uname -s 2>/dev/null`" != "QNX"; then
- AC_HEADER_DIRENT
-else
- AC_CHECK_HEADERS(dirent.h)
-fi
PHP_MISSING_FCLOSE_DECL
dnl QNX requires unix.h to allow functions in libunix to work properly
AC_CHECK_HEADERS([ \
+dirent.h \
ApplicationServices/ApplicationServices.h \
sys/param.h \
sys/types.h \