summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Landley2006-03-09 22:21:20 +0000
committerRob Landley2006-03-09 22:21:20 +0000
commit1f305dc0fdb8415c9c1321e49cc194089e58c456 (patch)
treea176d02a50d900a5dc610266d920c5efc65c3e1e /include
parent3a324754f88b913091eca8970c686f2e998028a9 (diff)
downloadbusybox-1f305dc0fdb8415c9c1321e49cc194089e58c456.zip
busybox-1f305dc0fdb8415c9c1321e49cc194089e58c456.tar.gz
Portability patch from rfelker. The bb_asprintf.c thing needs an eventual
follow up in platform.h to set the #ifdef, but the workaround works for everybody, so...
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 afea5de..f330aa9 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 bc3fa59..0490ee3 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>