]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing_network: drop unnecessary definitions
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 28 Feb 2025 18:55:14 +0000 (03:55 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 3 Mar 2025 17:24:49 +0000 (02:24 +0900)
They are already defined in glibc-2.31.

src/basic/missing_network.h

index ded1bc2f5ec4ab7b167ce99c54b776dab0c3184a..86ea978d4a2900fcb37e352f4c768fe4b41be03e 100644 (file)
@@ -3,17 +3,7 @@
 
 #include <netinet/in.h>
 
-/* linux/in6.h or netinet/in.h */
-#ifndef IPV6_UNICAST_IF
-#define IPV6_UNICAST_IF 76
-#endif
-
-/* linux/in6.h or netinet/in.h */
-#ifndef IPV6_TRANSPARENT
-#define IPV6_TRANSPARENT 75
-#endif
-
-/* linux/in.h or netinet/in.h */
+/* linux/in.h or netinet/in.h (since glibc-2.32) */
 #ifndef IPPROTO_MPTCP
 #define IPPROTO_MPTCP 262
 #endif