]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
Detect and use sys/select.h required by POSIX for select
[wxWidgets.git] / configure.in
index 5039a1867e76a3a27966fce5127d80a6fe1531a2..4368d689c68010f5d130e0e5e16a62894ca57ea4 100644 (file)
@@ -1801,6 +1801,11 @@ case "${host}" in
   ;;
 esac
 
+dnl POSIX needs this for select(), but old systems don't have it
+if test "$USE_UNIX" = 1 ; then
+    AC_CHECK_HEADERS([sys/select.h])
+fi
+
 dnl ---------------------------------------------------------------------------
 dnl Checks for compiler characteristics
 dnl ---------------------------------------------------------------------------