]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: cfgparse-quic: fix build error on Solaris due to missing netinet/in.h
authorWilly Tarreau <w@1wt.eu>
Sun, 28 Jul 2024 12:59:23 +0000 (14:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 28 Jul 2024 12:59:23 +0000 (14:59 +0200)
Since commit 35470d518 ("MINOR: quic: activate UDP GSO for QUIC if
supported"), Solaris build fails due to netinet/udp.h being included
without netinet/in.h. Adding it is sufficient to fix the problem. No
backport is needed.

src/cfgparse-quic.c

index 929360de19ff371d1314839cf846cc3865243851..413d136c4fe2ff69cdd6819c00e9809750fa37e5 100644 (file)
@@ -1,5 +1,6 @@
 #include <errno.h>
 #include <string.h>
+#include <netinet/in.h>
 #include <netinet/udp.h>
 
 #include <haproxy/acl.h>