3.0 build patch for winbind on HP-UX 11.x
Albert Chin
samba-technical at thewrittenword.com
Mon Nov 3 17:53:31 GMT 2003
Patch below needed to build winbind on HP-UX 11.x. Note the lack of an
#endif on the original code.
--
albert chin (china at thewrittenword.com)
-- snip snip
--- source/nsswitch/winbind_nss_hpux.h.orig Mon Oct 27 15:59:16 2003
+++ source/nsswitch/winbind_nss_hpux.h Mon Oct 27 16:04:54 2003
@@ -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 @@
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);
More information about the samba-technical
mailing list