r25068: Older samba3 DCs will return DCERPC_FAULT_OP_RNG_ERROR for every opcode on the
[Samba.git] / source / lib / replace / system / capability.h
blob23e59691456cc3d46b7b2b728a0d3a3b4e08969e
1 #ifndef _system_capability_h
2 #define _system_capability_h
3 /*
4 Unix SMB/CIFS implementation.
6 capability system include wrappers
8 Copyright (C) Andrew Tridgell 2004
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
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 2 of the License, or (at your option) any later version.
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.
24 You should have received a copy of the GNU Lesser General Public
25 License along with this library; if not, write to the Free Software
26 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 #ifdef HAVE_SYS_CAPABILITY_H
31 #if defined(BROKEN_REDHAT_7_SYSTEM_HEADERS) && !defined(_I386_STATFS_H)
32 #define _I386_STATFS_H
33 #define BROKEN_REDHAT_7_STATFS_WORKAROUND
34 #endif
36 #include <sys/capability.h>
38 #ifdef BROKEN_REDHAT_7_STATFS_WORKAROUND
39 #undef _I386_STATFS_H
40 #undef BROKEN_REDHAT_7_STATFS_WORKAROUND
41 #endif
43 #endif
45 #endif