diff options
| author | Eric Andersen <andersen@codepoet.org> | 2002-07-11 10:40:43 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2002-07-11 10:40:43 +0000 |
| commit | cafc10323099befd1e45bb1d212a511dcbb92b11 (patch) | |
| tree | e76f3490eb09eb51ff283d57d86ba698a51b2b67 /libbb | |
| parent | 1785ddcae20c68b248f003e30e501df09aa2a624 (diff) | |
| download | busybox-w32-cafc10323099befd1e45bb1d212a511dcbb92b11.tar.gz busybox-w32-cafc10323099befd1e45bb1d212a511dcbb92b11.tar.bz2 busybox-w32-cafc10323099befd1e45bb1d212a511dcbb92b11.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
Diffstat (limited to 'libbb')
| -rw-r--r-- | libbb/xconnect.c | 3 |
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 | ||
| 17 | int xconnect(const char *host, const char *port) | 18 | int xconnect(const char *host, const char *port) |
