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.tue.mpg.de/?a=commitdiff_plain;h=539d39f36549c10656d8b31f3dea32702e9649df;p=paraslash.git 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