From 217b9531d4050693efcd568645b1c40c00424b46 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 1 Feb 2020 23:21:44 +0100 Subject: [PATCH] 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. --- src/daemon/interfaces-linux.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5