From: Andre Noll Date: Thu, 10 Mar 2022 23:48:20 +0000 (+0100) Subject: net: Remove IPPROTO_DCCP define. X-Git-Tag: v0.7.2~20^2~6 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=539d39f36549c10656d8b31f3dea32702e9649df 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. --- 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