13 lines
498 B
Text
13 lines
498 B
Text
$NetBSD: patch-deviceh,v 1.1 2006/12/01 04:25:52 mwicks Exp $
|
|
--- io/hpiod/device.h.orig 2006-09-15 19:34:33.000000000 -0400
|
|
+++ io/hpiod/device.h
|
|
@@ -72,8 +72,7 @@ typedef struct
|
|
int Interface;
|
|
int AltSetting;
|
|
int urb_write_active; /* 0=no, 1=yes */
|
|
-#if (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD__)
|
|
-#else
|
|
+#ifdef __linux__
|
|
struct usbdevfs_urb urb_write; /* host to device */
|
|
struct usbdevfs_urb urb_read; /* device to host */
|
|
#endif
|