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