24 lines
665 B
Text
24 lines
665 B
Text
$NetBSD: patch-gc,v 1.2 2005/11/08 18:25:44 joerg Exp $
|
|
|
|
--- kcontrol/usbview/usbdevices.h.orig 2005-01-04 03:50:45.000000000 +1300
|
|
+++ kcontrol/usbview/usbdevices.h
|
|
@@ -16,7 +16,9 @@
|
|
#include <qstring.h>
|
|
#include <qptrlist.h>
|
|
|
|
-#ifdef Q_OS_FREEBSD
|
|
+#if defined(__DragonFly__)
|
|
+#include <bus/usb/usb.h>
|
|
+#elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
|
|
#include <dev/usb/usb.h>
|
|
#endif
|
|
|
|
@@ -63,7 +65,7 @@ private:
|
|
|
|
unsigned int _vendorID, _prodID, _revMajor, _revMinor;
|
|
|
|
-#ifdef Q_OS_FREEBSD
|
|
+#if defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
|
|
void collectData( int fd, int level, usb_device_info &di, int parent );
|
|
QStringList _devnodes;
|
|
#endif
|