diff options
author | Andy Wingo <wingo@pobox.com> | 2013-03-09 11:56:46 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-03-09 11:56:56 +0100 |
commit | 4c187d46d40aff1601f38675c11f92a73a13a7c9 (patch) | |
tree | 43aa99815ac65cc170d64c90c31098fc31d3cad0 /configure.ac | |
parent | 19113f1ca7a747de06d7b43c6c1eca4cd58d05e5 (diff) | |
download | guile-4c187d46d40aff1601f38675c11f92a73a13a7c9.tar.gz |
add check for struct pollfd
* configure.ac: Add check for struct pollfd.
* libguile/fports.c (fport_input_waiting):
* libguile/poll.c (scm_primitive_poll): Require struct pollfd. Fixes
bug 13903.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cbad0a162..4157982d3 100644 --- a/configure.ac +++ b/configure.ac @@ -674,6 +674,8 @@ AC_CHECK_TYPE(socklen_t, , AC_CHECK_TYPES([struct ip_mreq], , , [#include <netinet/in.h>]) +AC_CHECK_TYPES([struct pollfd], , , [#include <poll.h>]) + GUILE_HEADER_LIBC_WITH_UNISTD AC_TYPE_GETGROUPS |