diff options
author | Erik Gilling <konkers@android.com> | 2010-12-09 15:28:06 -0800 |
---|---|---|
committer | Erik Gilling <konkers@android.com> | 2010-12-09 15:28:06 -0800 |
commit | 3af05b09eb116e48997a2d4611b0a1e033737d2e (patch) | |
tree | d2f53cd0ec144c6c0c7070815b81e82c604af4d7 /include/usbhost | |
parent | fd1e8553232aa6f3bfbb609158b24fa2e1c3d40b (diff) |
libusbhost: add usb chapter 9 include to usbhost.h
Change-Id: I4dcadf8e8d9b25782351c9aeefb0d2cea81bbc9e
Diffstat (limited to 'include/usbhost')
-rw-r--r-- | include/usbhost/usbhost.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/usbhost/usbhost.h b/include/usbhost/usbhost.h index f7cc52e5a..5332acd30 100644 --- a/include/usbhost/usbhost.h +++ b/include/usbhost/usbhost.h @@ -23,6 +23,13 @@ extern "C" { #include <stdint.h> +#include <linux/version.h> +#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 20) +#include <linux/usb/ch9.h> +#else +#include <linux/usb_ch9.h> +#endif + struct usb_host_context; struct usb_endpoint_descriptor; |