diff options
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index d3ef3a2..8f4faff 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -243,9 +243,16 @@ if test "$ac_cv_func_select" = yes; then #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif], -[extern select ($ac_cv_type_fd_set_size_t, +[#ifdef __STDC__ +extern select ($ac_cv_type_fd_set_size_t, $ac_cv_type_fd_set *, $ac_cv_type_fd_set *, $ac_cv_type_fd_set *, - $ac_type_timeval *);], + $ac_type_timeval *); +#else +extern select (); + $ac_cv_type_fd_set_size_t s; + $ac_cv_type_fd_set *p; + $ac_type_timeval *t; +#endif], [ac_found=yes ; break 3],ac_found=no) done done |