diff options
author | Herb Lewis <herb@samba.org> | 1998-10-29 01:13:46 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 1998-10-29 01:13:46 +0000 |
commit | 950e47cb759daa3eb886475f585bf127b4e278ca (patch) | |
tree | 197276c0d3582fab399829f6aded2c9dc3cb5ba4 /source3 | |
parent | 97d022b8192a4d1df7079883465f576bdf734a8b (diff) | |
download | samba-950e47cb759daa3eb886475f585bf127b4e278ca.tar.gz samba-950e47cb759daa3eb886475f585bf127b4e278ca.tar.bz2 samba-950e47cb759daa3eb886475f585bf127b4e278ca.zip |
some versions of Irix pass the HAVE__ACL test but don't have acl.h
test for both before including ACL support.
(This used to be commit 86743dfda446fddaffff7cbb57ca6b5901948ad5)
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))) |