From: Vincent Bernat Date: Sat, 1 Feb 2020 22:21:44 +0000 (+0100) Subject: interfaces: include "netinet/in.h" before kernel headers X-Git-Tag: 1.0.5~5 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Flldpd.git;a=commitdiff_plain;h=217b9531d4050693efcd568645b1c40c00424b46 interfaces: include "netinet/in.h" before kernel headers This should ensure definition of stuff like in6_addr are done by the libc, not by the kernel headers. Recent kernel headers know how to handle that when loaded second. --- diff --git a/src/daemon/interfaces-linux.c b/src/daemon/interfaces-linux.c index 56931bf6..c9e1647f 100644 --- a/src/daemon/interfaces-linux.c +++ b/src/daemon/interfaces-linux.c @@ -26,6 +26,7 @@ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdocumentation" #endif +#include #include #include #include