summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-06-04 08:03:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:06 -0500
commit3ae5b71629df7d43801b59d8460970e924ae0b85 (patch)
tree7e6414029b1c4038e45296994f6f2f62f489a34e /source3
parenta02badcd4effd3b8d34a77868b24987ac6a7415d (diff)
downloadsamba-3ae5b71629df7d43801b59d8460970e924ae0b85.tar.gz
samba-3ae5b71629df7d43801b59d8460970e924ae0b85.tar.bz2
samba-3ae5b71629df7d43801b59d8460970e924ae0b85.zip
r23330: always include "winbind_client.h" as first header
as it brings in "replace.h" this will bring in "config.h" metze (This used to be commit d0b7b77fc437288d2e14099209bfd435bd7f1da4)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbind_nss_netbsd.c2
-rw-r--r--source3/nsswitch/winbind_nss_solaris.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbind_nss_netbsd.c b/source3/nsswitch/winbind_nss_netbsd.c
index 97eb0cc76d..09385100ad 100644
--- a/source3/nsswitch/winbind_nss_netbsd.c
+++ b/source3/nsswitch/winbind_nss_netbsd.c
@@ -22,10 +22,10 @@
Boston, MA 02111-1307, USA.
*/
-#include <sys/param.h>
#include "winbind_client.h"
+#include <sys/param.h>
#include <stdarg.h>
#include <syslog.h>
diff --git a/source3/nsswitch/winbind_nss_solaris.c b/source3/nsswitch/winbind_nss_solaris.c
index 3b069d339f..fb63795d17 100644
--- a/source3/nsswitch/winbind_nss_solaris.c
+++ b/source3/nsswitch/winbind_nss_solaris.c
@@ -27,6 +27,7 @@
#undef DEVELOPER
+#include "winbind_client.h"
#include <stdlib.h>
#include <sys/types.h>
#include <sys/param.h>
@@ -37,7 +38,6 @@
#if !defined(HPUX)
#include <sys/syslog.h>
#endif /*hpux*/
-#include "winbind_nss_config.h"
#if defined(HAVE_NSS_COMMON_H) || defined(HPUX)