From d26faa3186bef484140ca1470c153945f1660ff6 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 18 Jun 2025 10:34:06 +0900 Subject: [PATCH] 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. --- src/basic/missing_network.h | 5 ----- 1 file changed, 5 deletions(-) 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 -- 2.47.3