diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-12-04 21:39:52 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-12-04 21:39:52 +0000 |
commit | b054137a640c7fd0acb6cc9c4edda055465b15be (patch) | |
tree | 4d92b757dd86a1666ad67c910f1a1143d33d99ce /include/sys | |
parent | 2c2418088d07a2ecb0ecafd8c950bfd38ebf916b (diff) | |
download | musl-b054137a640c7fd0acb6cc9c4edda055465b15be.tar.gz musl-b054137a640c7fd0acb6cc9c4edda055465b15be.tar.bz2 musl-b054137a640c7fd0acb6cc9c4edda055465b15be.tar.xz musl-b054137a640c7fd0acb6cc9c4edda055465b15be.zip |
move struct ucred under _GNU_SOURCE in sys/socket.h for clean posix namespace
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h index 9e0b9a37..82edd6f7 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -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 { |