summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-11-03 21:05:50 +0000
committerJeremy Allison <jra@samba.org>2003-11-03 21:05:50 +0000
commitc8e7fc1fcd988d55ab9480c63109f3665c147962 (patch)
tree9683766383f8562119ae02fef3ab765d6b738270 /source3/nsswitch
parentd789f3bcb5044d381d4702991f4be24727870281 (diff)
downloadsamba-c8e7fc1fcd988d55ab9480c63109f3665c147962.tar.gz
samba-c8e7fc1fcd988d55ab9480c63109f3665c147962.tar.bz2
samba-c8e7fc1fcd988d55ab9480c63109f3665c147962.zip
Fix for winbindd on HPUX from albert chin (china@thewrittenword.com)
Jeremy. (This used to be commit c2f38eb66578affb50cb15c73b297fb866be140b)
Diffstat (limited to 'source3/nsswitch')
-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);