summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbind_nss_solaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/winbind_nss_solaris.c')
-rw-r--r--source3/nsswitch/winbind_nss_solaris.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/nsswitch/winbind_nss_solaris.c b/source3/nsswitch/winbind_nss_solaris.c
index 9c71c75e9d..8bf1487f5a 100644
--- a/source3/nsswitch/winbind_nss_solaris.c
+++ b/source3/nsswitch/winbind_nss_solaris.c
@@ -10,12 +10,14 @@
#include <sys/param.h>
#include <string.h>
#include <pwd.h>
+#include "includes.h"
#include <syslog.h>
+#if !defined(HPUX)
#include <sys/syslog.h>
-#include "includes.h"
+#endif /*hpux*/
#include "winbind_nss_config.h"
-#ifdef HAVE_NSS_COMMON_H
+#if defined(HAVE_NSS_COMMON_H) || defined(HPUX)
#undef NSS_DEBUG