]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fix build for CentOS 7
authorMaria Matejka <mq@ucw.cz>
Sat, 10 May 2025 14:29:18 +0000 (16:29 +0200)
committerMaria Matejka <mq@ucw.cz>
Sat, 10 May 2025 14:56:27 +0000 (16:56 +0200)
Partial cherry-pick of commit 913a9cad574f70acf3d7e5c6293c4bbe27b73074

Co-Authored-By: David Petera <david.petera@nic.cz>
sysdep/linux/sysio.h

index 49495e13d3d6f2f580244db846220e6c73360ae7..2e4292359fe66127d2b3f739cbcd211fc101471d 100644 (file)
 #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 */