e9c91f4956
included by dev/usb/usb.h, which is not the case on DragonFly and FreeBSD.
21 lines
419 B
Text
21 lines
419 B
Text
$NetBSD: patch-ac,v 1.1 2005/12/18 17:31:22 joerg Exp $
|
|
|
|
--- usbdebug.c.orig 1999-05-18 23:47:45.000000000 +0000
|
|
+++ usbdebug.c
|
|
@@ -26,11 +26,16 @@
|
|
|
|
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
+#include <sys/ioctl.h>
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <err.h>
|
|
+#ifdef __DragonFly__
|
|
+#include <bus/usb/usb.h>
|
|
+#else
|
|
#include <dev/usb/usb.h>
|
|
+#endif
|
|
|
|
#define USBDEV "/dev/usb0"
|
|
|