summaryrefslogtreecommitdiff
path: root/include/pwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 5abfbfd5..38e856d3 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -31,6 +31,10 @@ struct passwd *getpwnam (const char *);
int getpwuid_r (uid_t, struct passwd *, char *, size_t, struct passwd **);
int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **);
+#ifdef _GNU_SOURCE
+char *getpass(const char *);
+#endif
+
#ifdef __cplusplus
}
#endif