summaryrefslogtreecommitdiff
Diffstat
-rw-r--r--[-rwxr-xr-x]Android.mk40
-rw-r--r--android/android.c4
-rw-r--r--android/librpc/bindresvport.c3
-rw-r--r--android/selinux/android_selinux.h2
-rw-r--r--busybox-full.sources2
-rw-r--r--include/libbb.h5
-rw-r--r--selinux/sestatus.c11
-rw-r--r--shell/ash_80.c13601
8 files changed, 13665 insertions, 3 deletions
diff --git a/android/librpc/bindresvport.c b/android/librpc/bindresvport.c
index 0181612..a53994b 100644
--- a/android/librpc/bindresvport.c
+++ b/android/librpc/bindresvport.c
@@ -45,6 +45,9 @@ extern long __set_errno(int n);
#include <sys/socket.h>
#include <netinet/in.h>
+#if ANDROID_PLATFORM_SDK_VERSION >= 26 //8.0
+#include <netdb.h>
+#endif
/*
* Bind a socket to a privileged IP port