mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Unbreak on pre-4.8.
PR: 52174 Submitted by: osa
This commit is contained in:
parent
cbabee1a76
commit
989c9fe00e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81741
@ -44,7 +44,7 @@
|
||||
-#ifdef USBHID_NEW
|
||||
+#ifdef __FreeBSD__
|
||||
+# if (__FreeBSD_version >= 470000)
|
||||
+# if (__FreeBSD_version <= 500111)
|
||||
+# if ((__FreeBSD_version <= 500111) && (__FreeBSD_version >= 480000))
|
||||
+ len = hid_report_size(rd, r->rid, repinfo[repind].kind);
|
||||
+# else
|
||||
+ len = hid_report_size(rd, repinfo[repind].kind, r->rid);
|
||||
|
Loading…
Reference in New Issue
Block a user