Author: Ruediger Oertel Subject: avoid inclusion of linux/audit.h Bugzilla: bugzilla.Samba.org #2061 --- samba-3.0.4/source/client/smbmnt.c +++ samba-3.0.4/source/client/smbmnt.c @@ -22,6 +22,7 @@ is what we need from under libc systems and is provided in standard includes on glibc systems. So... We switch on what we need... */ +#define _LINUX_AUDIT_H_ #include #endif --- samba-3.0.4/source/client/smbmount.c +++ samba-3.0.4/source/client/smbmount.c @@ -24,6 +24,7 @@ #include #include +#define _LINUX_AUDIT_H_ #include extern BOOL in_client; --- samba-3.0.4/source/client/smbumount.c +++ samba-3.0.4/source/client/smbumount.c @@ -9,6 +9,7 @@ #include +#define _LINUX_AUDIT_H_ #include #include #include