From: Maria Matejka Date: Sat, 10 May 2025 14:29:18 +0000 (+0200) Subject: Fix build for CentOS 7 X-Git-Tag: v3.0.3~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbb03bc2272e5159c797094e197673a48eeace3c;p=thirdparty%2Fbird.git Fix build for CentOS 7 Partial cherry-pick of commit 913a9cad574f70acf3d7e5c6293c4bbe27b73074 Co-Authored-By: David Petera --- diff --git a/sysdep/linux/sysio.h b/sysdep/linux/sysio.h index 49495e13d..2e4292359 100644 --- a/sysdep/linux/sysio.h +++ b/sysdep/linux/sysio.h @@ -22,6 +22,11 @@ #define TCP_MD5SIG_FLAG_PREFIX 1 #endif +/* Used for legacy system builds (e.g. CentOS 7) */ +#ifndef UDP_NO_CHECK6_RX +#define UDP_NO_CHECK6_RX 102 +#endif + /* We redefine the tcp_md5sig structure with different name to avoid collision with older headers */ struct tcp_md5sig_ext { struct sockaddr_storage tcpm_addr; /* Address associated */