projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1785ddc
)
Brad Campbell <brad@seme.com.au> notes that
author
Eric Andersen
<andersen@codepoet.org>
Thu, 11 Jul 2002 10:40:43 +0000
(10:40 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 11 Jul 2002 10:40:43 +0000
(10:40 -0000)
xconnect.c needs #include <netinet/in.h>
to compile if CONFIG_FEATURE_IPV6 is not defined
libbb/xconnect.c
patch
|
blob
|
history
diff --git
a/libbb/xconnect.c
b/libbb/xconnect.c
index 0d670f286ef0d3362b741bee30ef178006d198f8..d6d144f3f99243c2a14a4a72d523253fe1b6b534 100644
(file)
--- 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)