summaryrefslogtreecommitdiff
path: root/lib/replace/system
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace/system')
-rw-r--r--lib/replace/system/passwd.h2
1 files changed, 2 insertions, 0 deletions
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 <compat.h>
#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... */