diff options
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 84200bbf05..35b4179949 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -51,6 +51,10 @@ | |||
51 | #include "bidi.h" | 51 | #include "bidi.h" |
52 | #endif | 52 | #endif |
53 | 53 | ||
54 | #if defined(HAVE_USBSTACK) && defined(USB_ENABLE_HID) | ||
55 | #include "usbstack/usb_hid.h" | ||
56 | #endif | ||
57 | |||
54 | #ifdef SIMULATOR | 58 | #ifdef SIMULATOR |
55 | #define PREFIX(_x_) sim_ ## _x_ | 59 | #define PREFIX(_x_) sim_ ## _x_ |
56 | #else | 60 | #else |
@@ -660,6 +664,10 @@ static const struct plugin_api rockbox_api = { | |||
660 | appsversion, | 664 | appsversion, |
661 | /* new stuff at the end, sort into place next time | 665 | /* new stuff at the end, sort into place next time |
662 | the API gets incompatible */ | 666 | the API gets incompatible */ |
667 | |||
668 | #if defined(HAVE_USBSTACK) && defined(USB_ENABLE_HID) | ||
669 | usb_hid_send, | ||
670 | #endif | ||
663 | }; | 671 | }; |
664 | 672 | ||
665 | int plugin_load(const char* plugin, const void* parameter) | 673 | int plugin_load(const char* plugin, const void* parameter) |