summaryrefslogtreecommitdiff
path: root/protocol/lufa/lufa.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/lufa/lufa.h')
-rw-r--r--protocol/lufa/lufa.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/protocol/lufa/lufa.h b/protocol/lufa/lufa.h
index 71c279b0dc..bcee060d67 100644
--- a/protocol/lufa/lufa.h
+++ b/protocol/lufa/lufa.h
@@ -47,8 +47,19 @@
#include <string.h>
#include <LUFA/Version.h>
#include <LUFA/Drivers/USB/USB.h>
+#include "host.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern host_driver_t lufa_driver;
+
+#ifdef __cplusplus
+}
+#endif
+
/* extra report structure */
typedef struct {
uint8_t report_id;