--- configure.in.orig 2008-04-21 19:43:11.000000000 +0200 +++ configure.in 2008-04-21 19:43:47.000000000 +0200 @@ -887,9 +887,9 @@ dnl Find the correct poll prototype on this machine AC_MSG_CHECKING(for correct poll prototype) -PROTO= -for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout' \ - 'struct pollfd *ufds, nfds_t nfds, int timeout' +PROTO1="struct pollfd fds[], nfds_t nfds, int timeout" +PROTO2="struct pollfd *fds, unsigned int nfds, int timeout" +for PROTO in "$PROTO1" "$PROTO2" do if test "${PROTO}" = ""; then AC_TRY_COMPILE([