diff options
Diffstat (limited to 'lib/libusbhid/descr_compat.c')
-rw-r--r-- | lib/libusbhid/descr_compat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libusbhid/descr_compat.c b/lib/libusbhid/descr_compat.c index 3cbcdbf..a38d8d7 100644 --- a/lib/libusbhid/descr_compat.c +++ b/lib/libusbhid/descr_compat.c @@ -28,6 +28,7 @@ * This file contains fallback-compatibility code for the old FreeBSD * USB stack. */ +#ifdef HID_COMPAT7 #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); @@ -75,3 +76,4 @@ hid_get_report_desc_compat7(int fd) return (hid_use_report_desc(rep.ucrd_data, (unsigned int)rep.ucrd_size)); } +#endif /* HID_COMPAT7 */ |