dnsmasq.h has to be included first as it sources config.h

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
Dominik Derigs
2021-10-07 09:30:31 +02:00
committed by Simon Kelley
parent c166c07a93
commit 72fac0810c

View File

@@ -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 <locale.h>
#endif
#include "dnsmasq.h"
struct daemon *daemon;