From 539d39f36549c10656d8b31f3dea32702e9649df Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 11 Mar 2022 00:48:20 +0100 Subject: [PATCH] net: Remove IPPROTO_DCCP define. This macro is defined in the system headers on all moderately new Linux versions, FreeBSD-13 and NetBSD-9, so our local fallback is not needed anymore. --- net.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/net.h b/net.h index 9b6591de..8292240f 100644 --- a/net.h +++ b/net.h @@ -3,10 +3,6 @@ /* Userland defines for Linux DCCP support. */ -#ifndef IPPROTO_DCCP -#define IPPROTO_DCCP 33 /**< IANA assigned value. */ -#endif - #ifndef SOL_DCCP #define SOL_DCCP 269 /**< Linux socket level. */ #endif -- 2.39.5