From: Christian Hesse <>

We define some constants in dnsmasq.h, which have an influence on
stdio.h. So do not include stdio.h before dnsmasq.h.

This fixes a segmentation fault caused by size mismatch for
size_t and off_t on systems where these are 4 bytes without
large file support.
Reported, debugged and tested by Arne W├Ârner <>.

Signed-off-by: Christian Hesse <>
 src/helper.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/helper.c b/src/helper.c
index 635677e..281cb4a 100644
--- a/src/helper.c
+++ b/src/helper.c
@@ -14,7 +14,6 @@
    along with this program.  If not, see <>.
-#include <stdio.h>
 #include "dnsmasq.h"

Dnsmasq-discuss mailing list

Reply via email to