patch-libpisock_freebsdusb_c 390 B

12345678910111213
  1. $OpenBSD: patch-libpisock_freebsdusb_c,v 1.5 2015/09/21 08:46:50 ajacoutot Exp $
  2. --- libpisock/freebsdusb.c.orig Thu Oct 12 16:21:22 2006
  3. +++ libpisock/freebsdusb.c Thu Jan 17 09:00:40 2008
  4. @@ -46,7 +46,7 @@
  5. # define O_NONBLOCK 0
  6. #endif
  7. -#if defined(__FreeBSD__)
  8. +#if defined(__FreeBSD__) || defined(__OpenBSD__)
  9. /* freebsd usb header */
  10. #include <dev/usb/usb.h>
  11. #define MAX_BUF 256