9239e5ca12
thanks to Giovanni Bechis <bigionews at snb dot it> who sent me a similar diff of what I had in my tree but totally forgot about tested under Treo 680 and LiveDrive (netsync) with jpilot and libmal
13 lines
390 B
Plaintext
13 lines
390 B
Plaintext
$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 @@
|
|
# 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
|