projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netinet/in.h: add IPV6_ROUTER_ALERT_ISOLATE from linux v5.1
[musl]
/
include
/
pwd.h
diff --git
a/include/pwd.h
b/include/pwd.h
index
07a5871
..
4f470b5
100644
(file)
--- a/
include/pwd.h
+++ b/
include/pwd.h
@@
-27,9
+27,11
@@
struct passwd {
char *pw_shell;
};
char *pw_shell;
};
+#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
void setpwent (void);
void endpwent (void);
struct passwd *getpwent (void);
void setpwent (void);
void endpwent (void);
struct passwd *getpwent (void);
+#endif
struct passwd *getpwuid (uid_t);
struct passwd *getpwnam (const char *);
struct passwd *getpwuid (uid_t);
struct passwd *getpwnam (const char *);