OLD | NEW |
| (Empty) |
1 #ifndef _system_capability_h | |
2 #define _system_capability_h | |
3 /* | |
4 Unix SMB/CIFS implementation. | |
5 | |
6 capability system include wrappers | |
7 | |
8 Copyright (C) Andrew Tridgell 2004 | |
9 | |
10 ** NOTE! The following LGPL license applies to the replace | |
11 ** library. This does NOT imply that all of Samba is released | |
12 ** under the LGPL | |
13 | |
14 This library is free software; you can redistribute it and/or | |
15 modify it under the terms of the GNU Lesser General Public | |
16 License as published by the Free Software Foundation; either | |
17 version 3 of the License, or (at your option) any later version. | |
18 | |
19 This library is distributed in the hope that it will be useful, | |
20 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
22 Lesser General Public License for more details. | |
23 | |
24 You should have received a copy of the GNU Lesser General Public | |
25 License along with this library; if not, see <http://www.gnu.org/licenses/>. | |
26 */ | |
27 | |
28 #ifdef HAVE_SYS_CAPABILITY_H | |
29 | |
30 #if defined(BROKEN_REDHAT_7_SYSTEM_HEADERS) && !defined(_I386_STATFS_H) && !defi
ned(_PPC_STATFS_H) | |
31 #define _I386_STATFS_H | |
32 #define _PPC_STATFS_H | |
33 #define BROKEN_REDHAT_7_STATFS_WORKAROUND | |
34 #endif | |
35 | |
36 #if defined(BROKEN_RHEL5_SYS_CAP_HEADER) && !defined(_LINUX_TYPES_H) | |
37 #define BROKEN_RHEL5_SYS_CAP_HEADER_WORKAROUND | |
38 #endif | |
39 | |
40 #include <sys/capability.h> | |
41 | |
42 #ifdef BROKEN_RHEL5_SYS_CAP_HEADER_WORKAROUND | |
43 #undef _LINUX_TYPES_H | |
44 #undef BROKEN_RHEL5_SYS_CAP_HEADER_WORKAROUND | |
45 #endif | |
46 | |
47 #ifdef BROKEN_REDHAT_7_STATFS_WORKAROUND | |
48 #undef _PPC_STATFS_H | |
49 #undef _I386_STATFS_H | |
50 #undef BROKEN_REDHAT_7_STATFS_WORKAROUND | |
51 #endif | |
52 | |
53 #endif | |
54 | |
55 #endif | |
OLD | NEW |