summaryrefslogtreecommitdiff
path: root/package/busybox/patches/000-upstream-android.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/patches/000-upstream-android.patch')
-rw-r--r--package/busybox/patches/000-upstream-android.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/patches/000-upstream-android.patch b/package/busybox/patches/000-upstream-android.patch
new file mode 100644
index 0000000..865b095a
--- /dev/null
+++ b/package/busybox/patches/000-upstream-android.patch
@@ -0,0 +1,11 @@
+--- a/include/platform.h
++++ b/include/platform.h
+@@ -433,7 +433,7 @@ typedef unsigned smalluint;
+ # undef HAVE_STPCPY
+ #endif
+
+-#if defined(ANDROID)
++#if defined(ANDROID) || defined(__ANDROID__)
+ # undef HAVE_DPRINTF
+ # undef HAVE_GETLINE
+ # undef HAVE_STPCPY