diff options
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 @@ #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) |