From dbb03bc2272e5159c797094e197673a48eeace3c Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Sat, 10 May 2025 16:29:18 +0200 Subject: [PATCH] Fix build for CentOS 7 Partial cherry-pick of commit 913a9cad574f70acf3d7e5c6293c4bbe27b73074 Co-Authored-By: David Petera --- sysdep/linux/sysio.h | 5 +++++ 1 file changed, 5 insertions(+) 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 */ -- 2.47.2