summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libusb/libusb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libusb/libusb.h b/lib/libusb/libusb.h
index 65b996fc7fde..75bece7c669d 100644
--- a/lib/libusb/libusb.h
+++ b/lib/libusb/libusb.h
@@ -29,6 +29,8 @@
*
*/
+#include <sys/cdefs.h>
+
typedef struct report_desc *report_desc_t;
typedef struct hid_data *hid_data_t;
@@ -87,6 +89,8 @@ int hid_report_size __P((report_desc_t d, enum hid_kind k, int *idp));
int hid_locate __P((report_desc_t d, unsigned int usage, enum hid_kind k, hid_item_t *h));
/* Conversion to/from usage names, usage.c: */
+int hid_parse_usage_page __P((const char *name));
+int hid_parse_usage_in_page __P((const char *name));
const char *hid_usage_page __P((int i));
const char *hid_usage_in_page __P((unsigned int u));
void hid_init __P((const char *file));