summaryrefslogtreecommitdiff
path: root/devel/libgamepad/files/extra-patch-gamepad_usbhid.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgamepad/files/extra-patch-gamepad_usbhid.c')
-rw-r--r--devel/libgamepad/files/extra-patch-gamepad_usbhid.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/libgamepad/files/extra-patch-gamepad_usbhid.c b/devel/libgamepad/files/extra-patch-gamepad_usbhid.c
new file mode 100644
index 000000000000..57de0a000c15
--- /dev/null
+++ b/devel/libgamepad/files/extra-patch-gamepad_usbhid.c
@@ -0,0 +1,10 @@
+--- gamepad_usbhid.c.orig 2009-03-08 12:35:35.000000000 +0300
++++ gamepad_usbhid.c 2009-03-08 12:35:44.000000000 +0300
+@@ -3,6 +3,7 @@
+ #include <string.h>
+ #include <sys/ioctl.h>
+ #include <dev/usb/usb.h>
++#include <dev/usb/usb_ioctl.h>
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <unistd.h>