lineedit: do not hang on error, but return error indicator.
[oweals/busybox.git] / libbb / xconnect.c
index c3ee633e4c0d9e00187aa83534d5e54359404bf9..3a6585caa8763aeb473ca6c6e4a7d15eff51b1a2 100644 (file)
@@ -4,9 +4,10 @@
  *
  * Connect to host at port using address resolution from getaddrinfo
  *
- * Licensed under GPLv2, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2, see file LICENSE in this source tree.
  */
 
+#include <sys/types.h>
 #include <sys/socket.h> /* netinet/in.h needs it */
 #include <netinet/in.h>
 #include <net/if.h>