Fix sockaddr_in6 detection.
authorjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Fri, 5 Oct 2007 02:03:29 +0000 (02:03 +0000)
committerjra <jra@0c0555d6-39d7-0310-84fc-f1cc0bd64818>
Fri, 5 Oct 2007 02:03:29 +0000 (02:03 +0000)
Jeremy.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25511 0c0555d6-39d7-0310-84fc-f1cc0bd64818

source/configure.in

index cd111a0..c36b430 100644 (file)
@@ -3198,7 +3198,8 @@ dnl test for struct sockaddr_storage
 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 @@ dnl test for struct struct sockaddr_in6
 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;
 ],