musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/socket.h')
-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
{
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月05日 07:16:53 +0000

AltStyle によって変換されたページ (->オリジナル) /