mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 08:56:28 -04:00
Changes: https://github.com/Yubico/libfido2/blob/master/NEWS https://developers.yubico.com/libfido2/Release_Notes.html
19 lines
478 B
C
19 lines
478 B
C
--- src/hid_openbsd.c.orig 2019-11-28 11:38:08 UTC
|
|
+++ src/hid_openbsd.c
|
|
@@ -8,6 +8,7 @@
|
|
|
|
#include <sys/ioctl.h>
|
|
#include <dev/usb/usb.h>
|
|
+#include <dev/usb/usb_ioctl.h>
|
|
#include <dev/usb/usbhid.h>
|
|
|
|
#include <errno.h>
|
|
@@ -20,7 +21,7 @@
|
|
#include "fido.h"
|
|
|
|
#define MAX_UHID 64
|
|
-#define MAX_REPORT_LEN (sizeof(((struct usb_ctl_report *)(NULL))->ucr_data))
|
|
+#define MAX_REPORT_LEN (sizeof(((struct usb_gen_descriptor *)(NULL))->ugd_data))
|
|
|
|
struct hid_openbsd {
|
|
int fd;
|