[Dnsmasq-discuss] Latest master may not compile

Dominik Derigs dl6er at dl6er.de
Thu Oct 7 07:31:08 UTC 2021


Hey Simon,

ad32ca18a753c264bb702e2b6f19e2d7f1de1612 added 

> +#if defined(HAVE_IDN) || defined(HAVE_LIBIDN2) ||
> defined(LOCALEDIR)
> +#include <locale.h>
> +#endif

above 

> #include "dnsmasq.h"

However, many projects (incl. ours) define the compile-time
options in config.h which is sourced through dnsmasq.h

dnsmasq cannot be compiled within these projects.
The attached patch fixes this.

Best,
Dominik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dnsmasq.h-has-to-be-included-first-as-it-sources-con.patch
Type: text/x-patch
Size: 807 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20211007/9e06fed3/attachment.bin>


More information about the Dnsmasq-discuss mailing list