From 18cc835e8af99a9c10e5f9b5562bac2f8f0d74b4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 2 Jun 2006 21:10:19 +0000 Subject: r16013: hopefully fix the configure check for darwin metze (This used to be commit 88b7d4206407aba74f3f6d56a8c88ef847731b12) --- source4/ntvfs/posix/config.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source4/ntvfs/posix/config.m4 b/source4/ntvfs/posix/config.m4 index a90b7af982..fb4362f755 100644 --- a/source4/ntvfs/posix/config.m4 +++ b/source4/ntvfs/posix/config.m4 @@ -39,6 +39,9 @@ if test x"$ac_cv_func_ext_flistxattr" = x"yes"; then #elif HAVE_SYS_XATTR_H #include #endif + #ifndef NULL + #define NULL ((void *)0) + #endif ],[ getxattr(NULL, NULL, NULL, 0, 0, 0); ],smb_attr_cv_xattr_add_opt=yes,smb_attr_cv_xattr_add_opt=no) -- cgit