19 lines
480 B
Plaintext
19 lines
480 B
Plaintext
$NetBSD: patch-al,v 1.2 2010/12/26 20:59:31 markd Exp $
|
|
|
|
--- hald/freebsd/probing/probe-hiddev.c.orig 2009-09-17 13:47:14.000000000 +0000
|
|
+++ hald/freebsd/probing/probe-hiddev.c
|
|
@@ -31,8 +31,13 @@
|
|
#include <fcntl.h>
|
|
#ifndef HAVE_LIBUSB20
|
|
#include <sys/ioctl.h>
|
|
+#ifdef __DragonFly__
|
|
+#include <bus/usb/usb.h>
|
|
+#include <bus/usb/usbhid.h>
|
|
+#else
|
|
#include <dev/usb/usb.h>
|
|
#include <dev/usb/usbhid.h>
|
|
+#endif
|
|
#else
|
|
#if __FreeBSD_version >= 800064
|
|
#include <dev/usb/usbhid.h>
|