mirror of git://git.musl-libc.org/musl
move struct ucred under _GNU_SOURCE in sys/socket.h for clean posix namespace
This commit is contained in:
parent
2c2418088d
commit
b054137a64
|
@ -19,12 +19,14 @@ extern "C" {
|
|||
|
||||
#include <bits/socket.h>
|
||||
|
||||
#ifdef _GNU_SOURCE
|
||||
struct ucred
|
||||
{
|
||||
pid_t pid;
|
||||
uid_t uid;
|
||||
gid_t gid;
|
||||
};
|
||||
#endif
|
||||
|
||||
struct linger
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue