From c8e7fc1fcd988d55ab9480c63109f3665c147962 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 3 Nov 2003 21:05:50 +0000 Subject: [PATCH] Fix for winbindd on HPUX from albert chin (china@thewrittenword.com) Jeremy. (This used to be commit c2f38eb66578affb50cb15c73b297fb866be140b) --- source3/nsswitch/winbind_nss_hpux.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source3/nsswitch/winbind_nss_hpux.h b/source3/nsswitch/winbind_nss_hpux.h index 1f2bade9721..d2a5057bf51 100644 --- a/source3/nsswitch/winbind_nss_hpux.h +++ b/source3/nsswitch/winbind_nss_hpux.h @@ -25,10 +25,6 @@ #include -#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); -- 2.11.4.GIT