From: Yu Watanabe Date: Wed, 18 Jun 2025 01:34:06 +0000 (+0900) Subject: missing_network: IPPROTO_MPTCP is already defined in linux/in.h X-Git-Tag: v258-rc1~287^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d26faa3186bef484140ca1470c153945f1660ff6;p=thirdparty%2Fsystemd.git missing_network: IPPROTO_MPTCP is already defined in linux/in.h And the header is already included through (our implementation of) netinet/in.h, hence we can safely drop the definition here. --- diff --git a/src/basic/missing_network.h b/src/basic/missing_network.h index 1ece7101fd4..450c64bff0c 100644 --- a/src/basic/missing_network.h +++ b/src/basic/missing_network.h @@ -3,11 +3,6 @@ #include /* 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