summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbind_nss_hpux.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/nsswitch/winbind_nss_hpux.h b/source3/nsswitch/winbind_nss_hpux.h
index 1f2bade972..d2a5057bf5 100644
--- a/source3/nsswitch/winbind_nss_hpux.h
+++ b/source3/nsswitch/winbind_nss_hpux.h
@@ -25,10 +25,6 @@
#include <nsswitch.h>
-#ifndef _HAVE_TYPEDEF_NSS_STATUS
-#define _HAVE_TYPEDEF_NSS_STATUS
-typedef nss_status_t NSS_STATUS;
-
#define NSS_STATUS_SUCCESS NSS_SUCCESS
#define NSS_STATUS_NOTFOUND NSS_NOTFOUND
#define NSS_STATUS_UNAVAIL NSS_UNAVAIL
@@ -48,6 +44,8 @@ typedef enum {
NSS_TRYAGAIN
} nss_status_t;
+typedef nss_status_t NSS_STATUS;
+
struct nss_backend;
typedef nss_status_t (*nss_backend_op_t)(struct nss_backend *, void *args);