mirror of
https://github.com/fluencelabs/musl
synced 2025-06-23 03:31:55 +00:00
fix various header namespace issues under feature-test-macro control
reported and changes suggested by Daniel Sabogal.
This commit is contained in:
@ -27,9 +27,11 @@ struct passwd {
|
||||
char *pw_shell;
|
||||
};
|
||||
|
||||
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
||||
void setpwent (void);
|
||||
void endpwent (void);
|
||||
struct passwd *getpwent (void);
|
||||
#endif
|
||||
|
||||
struct passwd *getpwuid (uid_t);
|
||||
struct passwd *getpwnam (const char *);
|
||||
|
Reference in New Issue
Block a user