summaryrefslogtreecommitdiff
path: root/development/android-tools/fix_build.patch
diff options
context:
space:
mode:
authorPhilip van der Hoeven <philip@vanderhoeven.org>2016-05-05 08:24:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-05 23:30:00 +0700
commit29023c9d3bfa579bc3da09f4538e25f38ebb2b0d (patch)
tree9dfcd0388b81549f0c9409a8e471db8e6140b2ce /development/android-tools/fix_build.patch
parent165eb6a56c2240af2647f68692c9eae7f2e8e839 (diff)
downloadslackbuilds-29023c9d3bfa579bc3da09f4538e25f38ebb2b0d.tar.gz
development/android-tools: Updated for version 6.0.1_r43.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/android-tools/fix_build.patch')
-rw-r--r--development/android-tools/fix_build.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/development/android-tools/fix_build.patch b/development/android-tools/fix_build.patch
new file mode 100644
index 0000000000..5747f1dddd
--- /dev/null
+++ b/development/android-tools/fix_build.patch
@@ -0,0 +1,31 @@
+--- a/core/base/file.cpp
++++ b/core/base/file.cpp
+@@ -20,6 +20,7 @@
+ #include <fcntl.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <string.h>
+
+ #include <string>
+
+--- a/core/liblog/log_read.c
++++ b/core/liblog/log_read.c
+@@ -26,6 +26,7 @@
+ #include <string.h>
+ #include <sys/cdefs.h>
+ #include <unistd.h>
++#include <sys/user.h>
+
+ #include <cutils/list.h>
+ #include <cutils/sockets.h>
+
+--- a/libselinux/src/label_internal.h
++++ b/libselinux/src/label_internal.h
+@@ -10,6 +10,7 @@
+
+ #include <stdlib.h>
+ #include <stdarg.h>
++#include <stdbool.h>
+ #include <selinux/selinux.h>
+ #include <selinux/label.h>
+ #include "dso.h"