openbsd-ports/comms/pilot-link/patches/patch-libpisock_freebsdusb_c
ajacoutot e65e8bb968 Update to pilot-link-0.12.1.
With some inputs from steven@ and espie@

ok steven@
2006-10-20 11:48:06 +00:00

13 lines
390 B
Plaintext

$OpenBSD: patch-libpisock_freebsdusb_c,v 1.2 2006/10/20 11:48:06 ajacoutot Exp $
--- libpisock/freebsdusb.c.orig Sun Aug 27 19:36:28 2006
+++ libpisock/freebsdusb.c Thu Oct 19 11:43:58 2006
@@ -44,7 +44,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