From a1901b55cfa658f39a33d0ea120641f56453fe4e Mon Sep 17 00:00:00 2001 From: Ira Cooper Date: Tue, 31 Jan 2012 12:15:36 -0800 Subject: Fix bug #8729 - getpass regressions on Solaris/Illumos - 3.6 and master. Autobuild-User: Jeremy Allison Autobuild-Date: Tue Jan 31 23:28:09 CET 2012 on sn-devel-104 --- lib/replace/system/passwd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/replace/system') diff --git a/lib/replace/system/passwd.h b/lib/replace/system/passwd.h index f630012f00..223324c4b4 100644 --- a/lib/replace/system/passwd.h +++ b/lib/replace/system/passwd.h @@ -67,6 +67,7 @@ #include #endif +#if !defined(getpass) #ifdef REPLACE_GETPASS #if defined(REPLACE_GETPASS_BY_GETPASSPHRASE) #define getpass(prompt) getpassphrase(prompt) @@ -75,6 +76,7 @@ char *rep_getpass(const char *prompt); #endif #endif +#endif #ifndef NGROUPS_MAX #define NGROUPS_MAX 32 /* Guess... */ -- cgit