summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-06-02 21:10:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:50 -0500
commit18cc835e8af99a9c10e5f9b5562bac2f8f0d74b4 (patch)
treec2a67892ac13bbb00032bc4f6056cbd4e56bc43b /source4/ntvfs
parent2176bcc3ab226c49aaa223c6cf58fb07222d8519 (diff)
downloadsamba-18cc835e8af99a9c10e5f9b5562bac2f8f0d74b4.tar.gz
samba-18cc835e8af99a9c10e5f9b5562bac2f8f0d74b4.tar.bz2
samba-18cc835e8af99a9c10e5f9b5562bac2f8f0d74b4.zip
r16013: hopefully fix the configure check for darwin
metze (This used to be commit 88b7d4206407aba74f3f6d56a8c88ef847731b12)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/posix/config.m43
1 files changed, 3 insertions, 0 deletions
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 <sys/xattr.h>
#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)