[Dnsmasq-discuss] [PATCH 1/1] do not include stdio.h before dnsmasq.h

AW arne_woerner at yahoo.com
Wed Aug 23 08:47:17 BST 2017


That would also fix the sizeof(off_t) mismatch in helper.c and tftp.c bug...
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2017q3/011691.html



-arne 

    Christian Hesse <list at eworm.de> schrieb am 21:20 Dienstag, 22.August 2017:
 

 From: Christian Hesse <mail at eworm.de>

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

Signed-off-by: Christian Hesse <mail at eworm.de>
---
 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 <http://www.gnu.org/licenses/>.
 */
 
-#include <stdio.h>
 #include "dnsmasq.h"
 
 #ifdef HAVE_SCRIPT


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20170823/ee95e547/attachment.html>


More information about the Dnsmasq-discuss mailing list