aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-07-11 10:40:43 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2002-07-11 10:40:43 +0000
commit5891772708c56a5c2e4da0c5ed7128c2e08196f2 (patch)
treee76f3490eb09eb51ff283d57d86ba698a51b2b67 /libbb
parent08bf121692c59fa28bb9e05529acdf1adfc6d618 (diff)
downloadbusybox-w32-5891772708c56a5c2e4da0c5ed7128c2e08196f2.tar.gz
busybox-w32-5891772708c56a5c2e4da0c5ed7128c2e08196f2.tar.bz2
busybox-w32-5891772708c56a5c2e4da0c5ed7128c2e08196f2.zip
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
Diffstat (limited to 'libbb')
-rw-r--r--libbb/xconnect.c3
1 files changed, 2 insertions, 1 deletions
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 @@
8 8
9#include <unistd.h> 9#include <unistd.h>
10#include <string.h> 10#include <string.h>
11#include <stdlib.h>
11#include <sys/types.h> 12#include <sys/types.h>
12#include <sys/socket.h> 13#include <sys/socket.h>
13#include <netdb.h> 14#include <netdb.h>
14#include <stdlib.h> 15#include <netinet/in.h>
15#include "libbb.h" 16#include "libbb.h"
16 17
17int xconnect(const char *host, const char *port) 18int xconnect(const char *host, const char *port)