]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
net: Remove IPPROTO_DCCP define.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 10 Mar 2022 23:48:20 +0000 (00:48 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 3 Oct 2022 20:53:49 +0000 (22:53 +0200)
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

diff --git a/net.h b/net.h
index 9b6591de77ae724a9b37faea229f61c1d8c67340..8292240f999c5b7928e65e671c574660f089d7f9 100644 (file)
--- 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