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 authored and Simon Kelley committed 2021-10-07 09:28:34 +01:00
1 parent c166c07a93
commit 72fac0810c
1 file changed
+3 -1
+3 -1
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;