summaryrefslogtreecommitdiff
path: root/games/plib/patches/patch-ad
blob: 8c6eec5d62cc51cca353d795b9469d16d860b120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ad,v 1.6 2007/07/12 19:48:42 drochner Exp $

--- src/js/jsBSD.cxx.orig	2007-03-22 23:35:44.000000000 +0100
+++ src/js/jsBSD.cxx
@@ -52,11 +52,8 @@
 #endif
 #ifdef HAVE_USB_JS
 #if defined(__NetBSD__)
-#ifdef HAVE_USBHID_H
+#define HAVE_USBHID_H 1
 #include <usbhid.h>
-#else
-#include <usb.h>
-#endif
 #elif defined(__FreeBSD__)
 extern "C" {
 #  if __FreeBSD_version < 500000