mirror of
https://github.com/fluencelabs/musl
synced 2025-04-24 23:02:14 +00:00
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…
x
Reference in New Issue
Block a user