From aa6cbf452052cef108e2fe0b35dbd26b4d2f1fc3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Thu, 10 Jun 2010 23:15:19 +0200 Subject: [PATCH] s3: readd h_errno struct member but rename it as pointed out by metze this is a structure of fixed size, which should not be changed. (cherry picked from commit a8c051b2f91852b5228d6a903d6a7fd50d22de28) Second part of a fix for bug #9011 (Build on HP-UX broken). (cherry picked from commit 7a56042642409556c492cadd49772bb70fbd974d) --- nsswitch/winbind_nss_hpux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nsswitch/winbind_nss_hpux.h b/nsswitch/winbind_nss_hpux.h index 393c0a35dba..dba70a7657a 100644 --- a/nsswitch/winbind_nss_hpux.h +++ b/nsswitch/winbind_nss_hpux.h @@ -133,9 +133,9 @@ typedef struct nss_XbyY_args { /* * h_errno is defined as function call macro for multithreaded applications * in HP-UX. *this* h_errno is not used in the HP-UX codepath of our nss - * modules, so let's simply comment it out here: - * int h_errno; + * modules, so let's simply rename it: */ + int h_errno_unused; nss_status_t status; } nss_XbyY_args_t; -- 2.34.1