diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbwrapper/realcalls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/realcalls.h b/source3/smbwrapper/realcalls.h index 9bca0a7ec1..251c267337 100644 --- a/source3/smbwrapper/realcalls.h +++ b/source3/smbwrapper/realcalls.h @@ -158,7 +158,7 @@ #define real_fstat(fd,st) (__fstat(fd,st)) #endif -#ifdef HAVE__ACL +#if defined(HAVE_SYS_ACL_H) && defined(HAVE__ACL) #define real_acl(fn,cmd,n,buf) (_acl(fn,cmd,n,buf)) #elif SYS_acl #define real_acl(fn,cmd,n,buf) (syscall(SYS_acl,(fn),(cmd),(n),(buf))) |