2008-01-20 10:19:31 -05:00
|
|
|
$OpenBSD: patch-libpisock_freebsdusb_c,v 1.3 2008/01/20 15:19:31 ajacoutot Exp $
|
|
|
|
--- libpisock/freebsdusb.c.orig Thu Oct 12 16:21:22 2006
|
|
|
|
+++ libpisock/freebsdusb.c Thu Jan 17 09:00:40 2008
|
|
|
|
@@ -46,7 +46,7 @@
|
2004-12-10 23:59:46 -05:00
|
|
|
# define O_NONBLOCK 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
-#if defined(__FreeBSD__)
|
|
|
|
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
|
|
|
/* freebsd usb header */
|
|
|
|
#include <dev/usb/usb.h>
|
|
|
|
#define MAX_BUF 256
|