summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-12-09 14:00:25 -0800
committerJames Peach <jpeach@samba.org>2007-12-09 14:00:25 -0800
commitc553b6f7fa8ef15863448ff9cd1fa08f9f2d7c96 (patch)
tree9362f884ed9a5c5f03632009963bdf0bc02e2630
parentdaba3f8b54b04fe8623db3bab90c3aba15d4c379 (diff)
downloadsamba-c553b6f7fa8ef15863448ff9cd1fa08f9f2d7c96.tar.gz
samba-c553b6f7fa8ef15863448ff9cd1fa08f9f2d7c96.tar.bz2
samba-c553b6f7fa8ef15863448ff9cd1fa08f9f2d7c96.zip
Make sure NULL is defined to the IPv6 test doesn't spuriously fail.
(This used to be commit 87c302e250aacc4d5d6a3cce3f134dd13fa457bf)
-rw-r--r--source3/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 4eea3313f9..4c72ad3dd3 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3046,6 +3046,7 @@ fi
dnl test for ipv6
AC_CACHE_CHECK([for ipv6 support],samba_cv_HAVE_IPV6,[
AC_TRY_COMPILE([
+#include <stdlib.h> /* for NULL */
#include <sys/socket.h>
#include <sys/types.h>
#include <netdb.h>],