diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-05 02:03:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:31:11 -0500 |
commit | 4f2febdd037ec9d633190710a0ee584d5b370fc4 (patch) | |
tree | 9413bdeb65529482f23ebc68e44f07228f3dc3eb /source3 | |
parent | 3dbb3d4c269ecf28f25d857aa8a4e5c1109ee5e8 (diff) | |
download | samba-4f2febdd037ec9d633190710a0ee584d5b370fc4.tar.gz samba-4f2febdd037ec9d633190710a0ee584d5b370fc4.tar.bz2 samba-4f2febdd037ec9d633190710a0ee584d5b370fc4.zip |
r25511: Fix sockaddr_in6 detection.
Jeremy.
(This used to be commit 9fe14b5a78b0a9a9546fa07d184d0f320fb1a7be)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in index cd111a0218..c36b430fcc 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -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; ], |