diff configure.in @ 336:2dd116db1956

Can't check for ss_family without #including sys/socket.h
author Matt Johnston <matt@ucc.asn.au>
date Mon, 12 Jun 2006 16:03:52 +0000
parents e17f0333c21e
children 59531221b846
line wrap: on
line diff
--- a/configure.in	Mon Jun 12 15:57:14 2006 +0000
+++ b/configure.in	Mon Jun 12 16:03:52 2006 +0000
@@ -350,7 +350,10 @@
 #endif
 ])
 
-AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family],,,[])
+AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family],,,[
+#include <sys/types.h>
+#include <sys/socket.h>
+])
 
 AC_CHECK_FUNCS(endutent getutent getutid getutline pututline setutent)
 AC_CHECK_FUNCS(utmpname)