Author: jra Date: 2007-10-05 02:03:29 +0000 (Fri, 05 Oct 2007) New Revision: 25511
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25511 Log: Fix sockaddr_in6 detection. Jeremy. Modified: branches/SAMBA_3_2/source/configure.in branches/SAMBA_3_2_0/source/configure.in Changeset: Modified: branches/SAMBA_3_2/source/configure.in =================================================================== --- branches/SAMBA_3_2/source/configure.in 2007-10-05 01:11:33 UTC (rev 25510) +++ branches/SAMBA_3_2/source/configure.in 2007-10-05 02:03:29 UTC (rev 25511) @@ -3198,7 +3198,8 @@ AC_CACHE_CHECK([for struct sockaddr_storage],samba_cv_HAVE_STRUCT_SOCKADDR_STORAGE,[ AC_TRY_COMPILE([ #include <sys/socket.h> -#include <sys/types.h>], +#include <sys/types.h> +#include <netinet/in.h>], [ struct sockaddr_storage sa_store; ], @@ -3211,7 +3212,8 @@ AC_CACHE_CHECK([for struct sockaddr_in6],samba_cv_HAVE_STRUCT_SOCKADDR_IN6,[ AC_TRY_COMPILE([ #include <sys/socket.h> -#include <sys/types.h>], +#include <sys/types.h> +#include <netinet/in.h>], [ struct sockaddr_in6 sa6; ], Modified: branches/SAMBA_3_2_0/source/configure.in =================================================================== --- branches/SAMBA_3_2_0/source/configure.in 2007-10-05 01:11:33 UTC (rev 25510) +++ branches/SAMBA_3_2_0/source/configure.in 2007-10-05 02:03:29 UTC (rev 25511) @@ -3069,7 +3069,8 @@ AC_CACHE_CHECK([for struct sockaddr_storage],samba_cv_HAVE_STRUCT_SOCKADDR_STORAGE,[ AC_TRY_COMPILE([ #include <sys/socket.h> -#include <sys/types.h>], +#include <sys/types.h> +#include <netinet/in.h>], [ struct sockaddr_storage sa_store; ], @@ -3082,7 +3083,8 @@ AC_CACHE_CHECK([for struct sockaddr_in6],samba_cv_HAVE_STRUCT_SOCKADDR_IN6,[ AC_TRY_COMPILE([ #include <sys/socket.h> -#include <sys/types.h>], +#include <sys/types.h> +#include <netinet/in.h>], [ struct sockaddr_in6 sa6; ],