From 5891772708c56a5c2e4da0c5ed7128c2e08196f2 Mon Sep 17 00:00:00 2001 From: andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> Date: Thu, 11 Jul 2002 10:40:43 +0000 Subject: Brad Campbell <brad@seme.com.au> notes that xconnect.c needs #include <netinet/in.h> to compile if CONFIG_FEATURE_IPV6 is not defined git-svn-id: svn://busybox.net/trunk/busybox@5041 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/xconnect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libbb') diff --git a/libbb/xconnect.c b/libbb/xconnect.c index 0d670f286..d6d144f3f 100644 --- a/libbb/xconnect.c +++ b/libbb/xconnect.c @@ -8,10 +8,11 @@ #include <unistd.h> #include <string.h> +#include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> -#include <stdlib.h> +#include <netinet/in.h> #include "libbb.h" int xconnect(const char *host, const char *port) -- cgit v1.2.3-55-g6feb