summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-11-03 21:05:47 +0000
committerJeremy Allison <jra@samba.org>2003-11-03 21:05:47 +0000
commit181df301cd5746d95ed4543e89a66a234f862adb (patch)
treef866b5fc6f0498496b117c1c74fe1509f8e0c2b8 /source3/nsswitch
parent7c55d23cbf4379daae5c9ff25d2f125dcb550fb1 (diff)
downloadsamba-181df301cd5746d95ed4543e89a66a234f862adb.tar.gz
samba-181df301cd5746d95ed4543e89a66a234f862adb.tar.bz2
samba-181df301cd5746d95ed4543e89a66a234f862adb.zip
Fix for winbindd on HPUX from albert chin (china@thewrittenword.com)
Jeremy. (This used to be commit 119a89246bf84cb98b76cf3777c039fa8eb644f2)
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);