summaryrefslogtreecommitdiff
path: root/source3/nsswitch/nss.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/nss.h')
-rw-r--r--source3/nsswitch/nss.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/nss.h b/source3/nsswitch/nss.h
index e021b013b5..d83a5e237e 100644
--- a/source3/nsswitch/nss.h
+++ b/source3/nsswitch/nss.h
@@ -72,7 +72,7 @@ typedef enum
#define NSD_MEM_VOLATILE 1
#define NSD_MEM_DYNAMIC 2
-#elif defined(HPUX)
+#elif defined(HPUX) && defined(HAVE_NSSWITCH_H)
/* HP-UX 11 */
#include "nsswitch/hp_nss_common.h"