From 72fac0810cf1ba380fbd2021ea666594e58d25ad Mon Sep 17 00:00:00 2001 From: Dominik Derigs Date: Thu, 7 Oct 2021 09:30:31 +0200 Subject: dnsmasq.h has to be included first as it sources config.h Signed-off-by: DL6ER --- src/dnsmasq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dnsmasq.c b/src/dnsmasq.c index d3f2c13..2fe9808 100644 --- a/src/dnsmasq.c +++ b/src/dnsmasq.c @@ -17,10 +17,12 @@ /* Declare static char *compiler_opts in config.h */ #define DNSMASQ_COMPILE_OPTS +/* dnsmasq.h has to be included first as it sources config.h */ +#include "dnsmasq.h" + #if defined(HAVE_IDN) || defined(HAVE_LIBIDN2) || defined(LOCALEDIR) #include #endif -#include "dnsmasq.h" struct daemon *daemon; -- cgit v1.2.1