From: Szabolcs Nagy Date: Wed, 4 Dec 2013 21:39:52 +0000 (+0000) Subject: move struct ucred under _GNU_SOURCE in sys/socket.h for clean posix namespace X-Git-Tag: v0.9.15~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b054137a640c7fd0acb6cc9c4edda055465b15be;p=oweals%2Fmusl.git move struct ucred under _GNU_SOURCE in sys/socket.h for clean posix namespace --- 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 +#ifdef _GNU_SOURCE struct ucred { pid_t pid; uid_t uid; gid_t gid; }; +#endif struct linger {