Skip to content

Instantly share code, notes, and snippets.

@feniix
Created May 22, 2014 04:48
Show Gist options
  • Save feniix/7e7a40608cdc40b302d3 to your computer and use it in GitHub Desktop.
Save feniix/7e7a40608cdc40b302d3 to your computer and use it in GitHub Desktop.
diff --git a/configure b/configure
index 78e120d..5e9f2f5 100755
--- a/configure
+++ b/configure
@@ -2228,7 +2228,7 @@ EOF
echo $ac_n "checking for correct poll prototype""... $ac_c" 1>&6
echo "configure:2230: checking for correct poll prototype" >&5
PROTO=
-for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout'
+for testproto in 'struct pollfd *ufds, nfds_t nfds, int timeout'
do
if test "${PROTO}" = ""; then
cat > conftest.$ac_ext <<EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment