]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing_network: IPPROTO_MPTCP is already defined in linux/in.h
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 18 Jun 2025 01:34:06 +0000 (10:34 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 19 Jun 2025 10:08:45 +0000 (19:08 +0900)
And the header is already included through (our implementation of)
netinet/in.h, hence we can safely drop the definition here.

src/basic/missing_network.h

index 1ece7101fd42437b8e0045ed86adff370012656b..450c64bff0c179c013af3aee25bafc0b51599f8a 100644 (file)
@@ -3,11 +3,6 @@
 
 #include <netinet/in.h> /* IWYU pragma: export */
 
-/* linux/in.h or netinet/in.h (since glibc-2.32) */
-#ifndef IPPROTO_MPTCP
-#define IPPROTO_MPTCP 262
-#endif
-
 /* Not exposed but defined at include/net/ip.h */
 #ifndef IPV4_MIN_MTU
 #define IPV4_MIN_MTU 68