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/net
diff options
context:
space:
mode:
Diffstat (limited to 'include/net')
-rw-r--r--include/net/if.h 2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/if.h b/include/net/if.h
index 00c763a4..e862c7c7 100644
--- a/include/net/if.h
+++ b/include/net/if.h
@@ -21,7 +21,7 @@ void if_freenameindex (struct if_nameindex *);
-#ifdef _GNU_SOURCE
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#include <sys/socket.h>
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月03日 02:35:27 +0000

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