summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author David 'Digit' Turner <digit@google.com> 2012-01-13 14:17:29 +0100
committer David 'Digit' Turner <digit@google.com> 2012-01-13 14:21:42 +0100
commit3203f2af9425f13ce2c4d99233a5fcdce6a0989c (patch)
tree26386c41641030d3efcbf375ca8589f0ce935eb5
parente00274a5ab8d16d1050adda84412016c01a469b3 (diff)
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
-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 e590babb485e..fc7fc4fcb03b 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)