summaryrefslogtreecommitdiffstats
path: root/media/mtp
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2012-01-13 14:17:29 +0100
committerDavid 'Digit' Turner <digit@google.com>2012-01-13 14:21:42 +0100
commitc7a8e2422445030b9312470abca23c966b6367c7 (patch)
tree67e2bf5be90a682b1523ff2a7bad4ae97049ef3b /media/mtp
parent83bc7f3cf78b28a818417f40a4f0c00593993366 (diff)
downloadframeworks_av-c7a8e2422445030b9312470abca23c966b6367c7.zip
frameworks_av-c7a8e2422445030b9312470abca23c966b6367c7.tar.gz
frameworks_av-c7a8e2422445030b9312470abca23c966b6367c7.tar.bz2
media/mtp: Add missing LOCAL_C_INCLUDES
One of the source files here is including <cutils/tztime.h> which itself includes <bionic_time.h>, a private C library header used to define the strftime_tz() extension (which used to be declared in <time.h> but was moved there instead). Add a missing C include path to let our code compile as usual. Change-Id: I6aac2f1d3d15ad182679c81ff3f4febff74eb671
Diffstat (limited to 'media/mtp')
-rw-r--r--media/mtp/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/mtp/Android.mk b/media/mtp/Android.mk
index e590bab..fc7fc4f 100644
--- a/media/mtp/Android.mk
+++ b/media/mtp/Android.mk
@@ -39,6 +39,9 @@ LOCAL_MODULE:= libmtp
LOCAL_CFLAGS := -DMTP_DEVICE -DMTP_HOST
+# Needed for <bionic_time.h>
+LOCAL_C_INCLUDES := bionic/libc/private
+
LOCAL_SHARED_LIBRARIES := libutils libcutils libusbhost libbinder
include $(BUILD_SHARED_LIBRARY)