commit | bbd9f36efa31bb3794d7126292d18ca40fe4ddf8 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Mon Jul 19 09:01:57 2010 -0400 |
committer | Mike Lockwood <lockwood@android.com> | Tue Jul 20 09:49:50 2010 -0400 |
tree | 36d8b37f2c54eaff098ee751628ee8567e2e0ec4 | |
parent | b1cd67bb48d7f9b35585563043c45da72e0acc2b [diff] [blame] |
MTP: add Linux host library for MTP/PTP host support. Change-Id: Ie2ce60b957ee428a8e8db46a70c5a0ade8445007 Signed-off-by: Mike Lockwood <lockwood@android.com>
diff --git a/media/mtp/MtpEventPacket.cpp b/media/mtp/MtpEventPacket.cpp index 089278e..fc74542 100644 --- a/media/mtp/MtpEventPacket.cpp +++ b/media/mtp/MtpEventPacket.cpp
@@ -21,7 +21,9 @@ #include <fcntl.h> #include <sys/ioctl.h> +#ifdef MTP_DEVICE #include <linux/usb/f_mtp.h> +#endif #include "MtpEventPacket.h"