diff options
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/config.m4 | 3 |
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) |