aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-10-18 06:36:46 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-10-18 06:36:46 +0000
commitb49fac3a5311c04b69aa94e73a53738ed37fcd37 (patch)
tree13e1456eae8d80a8c5501d06a1dfaa8797d62b29
parent06cae60bad81ee43f64e8395fedb62c3b24a76ec (diff)
parent677332e2bc40f32d82c102cd9f0237bfe6692d48 (diff)
downloadexternal_curl-android-7.1.1_r6.tar.gz
external_curl-android-7.1.1_r6.tar.bz2
external_curl-android-7.1.1_r6.zip
am: 677332e2bc Change-Id: I494e5cbf44db51631d19a614b011897c8efac942
-rw-r--r--Android.mk3
-rwxr-xr-xandroidconfigure1
-rw-r--r--lib/curl_config.h4
3 files changed, 5 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index 6e61c1d9..691baf4e 100644
--- a/Android.mk
+++ b/Android.mk
@@ -14,7 +14,8 @@ curl_CFLAGS := -Wpointer-arith -Wwrite-strings -Wunused -Winline \
-Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long \
-Wfloat-equal -Wno-multichar -Wno-sign-compare -Wno-format-nonliteral \
-Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement \
- -Wno-system-headers -DHAVE_CONFIG_H -DOS='$(version_string)' -Werror
+ -Wno-system-headers -DHAVE_CONFIG_H -DOS='$(version_string)' -Werror \
+ -DBUILDING_LIBCURL
curl_includes := \
$(LOCAL_PATH)/include/ \
diff --git a/androidconfigure b/androidconfigure
index f6c1aeaa..d9f25f44 100755
--- a/androidconfigure
+++ b/androidconfigure
@@ -19,6 +19,7 @@ CFLAGS=(
"-isystem ${T}/external/libcxx/include"
"-isystem ${T}/bionic/libc/include/"
"-isystem ${T}/bionic/libc/arch-arm/include"
+ "-isystem ${T}/bionic/libc/kernel/android/uapi/"
"-isystem ${T}/bionic/libc/kernel/uapi/"
"-isystem ${T}/bionic/libc/kernel/uapi/asm-arm/"
"-isystem ${T}/bionic/libm/include"
diff --git a/lib/curl_config.h b/lib/curl_config.h
index 0649de88..0288018f 100644
--- a/lib/curl_config.h
+++ b/lib/curl_config.h
@@ -570,7 +570,7 @@
/* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */
/* Define to 1 if you have the <sgtty.h> header file. */
-/* #undef HAVE_SGTTY_H */
+#define HAVE_SGTTY_H 1
/* Define to 1 if you have the sigaction function. */
#define HAVE_SIGACTION 1
@@ -714,7 +714,7 @@
#define HAVE_SYS_UN_H 1
/* Define to 1 if you have the <sys/utime.h> header file. */
-/* #undef HAVE_SYS_UTIME_H */
+#define HAVE_SYS_UTIME_H 1
/* Define to 1 if you have the <sys/wait.h> header file. */
#define HAVE_SYS_WAIT_H 1