aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/inet_common.h2
-rw-r--r--include/libbb.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/inet_common.h b/include/inet_common.h
index afea5deaa..f330aa90f 100644
--- a/include/inet_common.h
+++ b/include/inet_common.h
@@ -11,7 +11,7 @@
#include <features.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include <arpa/inet.h>
+#include <netinet/in.h>
extern const char bb_INET_default[]; /* = "default" */
diff --git a/include/libbb.h b/include/libbb.h
index bc3fa5990..0490ee35f 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -20,6 +20,7 @@
#include <stdint.h>
#include <netdb.h>
+#include <netinet/in.h>
#include <features.h>