diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 66bb95d3..25b15f89 100644 --- a/configure.ac +++ b/configure.ac @@ -44,6 +44,14 @@ AC_HEADER_TIME AC_STRUCT_TM AC_C_VOLATILE +sa_includes="\ +$ac_includes_default +#if HAVE_SYS_SOCKET_H +# include <sys/socket.h> +#endif +" +AC_CHECK_MEMBERS([struct sockaddr.sa_len],,,[$sa_includes]) + # Checks for library functions. AC_FUNC_FORK AC_PROG_GCC_TRADITIONAL |