From 77d4095cf065858999ec6240945c14a33c9bfca8 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin <benpicco@zedat.fu-berlin.de> Date: Sat, 12 Jan 2013 21:51:43 +0100 Subject: [PATCH] fix up includes --- sys/net/net_help/inet_ntop.c | 4 ++++ sys/net/net_help/inet_ntop.h | 2 +- sys/net/net_help/inet_pton.c | 8 ++++++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/sys/net/net_help/inet_ntop.c b/sys/net/net_help/inet_ntop.c index 9166d062eb..d72e8a0aaf 100644 --- a/sys/net/net_help/inet_ntop.c +++ b/sys/net/net_help/inet_ntop.c @@ -14,7 +14,11 @@ * SOFTWARE. */ +#include <stdio.h> #include <string.h> +#include <stdint.h> + +#include "sys/net/destiny/socket.h" #include "inet_ntop.h" diff --git a/sys/net/net_help/inet_ntop.h b/sys/net/net_help/inet_ntop.h index f8e1dc6ae2..281f1ffa9b 100644 --- a/sys/net/net_help/inet_ntop.h +++ b/sys/net/net_help/inet_ntop.h @@ -6,7 +6,7 @@ #endif #ifndef INT16SZ -#define INT16SZ sizeof(apr_int16_t) +#define INT16SZ sizeof(int16_t) #endif #if !defined(EAFNOSUPPORT) && defined(WSAEAFNOSUPPORT) diff --git a/sys/net/net_help/inet_pton.c b/sys/net/net_help/inet_pton.c index de3005d9b4..cbf1193dd5 100644 --- a/sys/net/net_help/inet_pton.c +++ b/sys/net/net_help/inet_pton.c @@ -13,10 +13,14 @@ * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS * SOFTWARE. */ + +#include <stdio.h> +#include <string.h> +#include <stdint.h> - #include <string.h> +#include "sys/net/destiny/socket.h" - #include "inet_pton.h" +#include "inet_pton.h" /* int * inet_pton4(src, dst) -- GitLab