blob: 0ba7ba429fa97b42272ea4be8e1c4375c1d386d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$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>
|