diff --git a/include/pwd.h b/include/pwd.h index 5abfbfd56aa606db2d87a650ea271eb5ecc6ea52..38e856d381731b18277e25aff520ccbdab67d8c1 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