From 3a20ae38308871cfe1a1e870666e47b11e9d987d Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Thu, 5 Jan 2017 08:55:12 +0100 Subject: [PATCH] Add missing #include in netdb.c for atoi() --- src/api/netdb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/netdb.c b/src/api/netdb.c index ac1d8c79..ccd9586f 100644 --- a/src/api/netdb.c +++ b/src/api/netdb.c @@ -46,7 +46,8 @@ #include "lwip/api.h" #include "lwip/dns.h" -#include +#include /* memset */ +#include /* atoi */ /** helper struct for gethostbyname_r to access the char* buffer */ struct gethostbyname_r_helper {