Make sure NULL is defined to the IPv6 test doesn't spuriously fail.
authorJames Peach <jpeach@samba.org>
Sun, 9 Dec 2007 22:00:25 +0000 (14:00 -0800)
committerJames Peach <jpeach@samba.org>
Sun, 9 Dec 2007 22:00:25 +0000 (14:00 -0800)
(This used to be commit 87c302e250aacc4d5d6a3cce3f134dd13fa457bf)

source3/configure.in

index 4eea3313f9a02d85021ec1377eb3e2c983530ee1..4c72ad3dd3a24397a9c01ea20a134af59cea3236 100644 (file)
@@ -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>],