freebsd-ports/games/bzflag/files/patch-XWindow.h
Pav Lucistnik 7857a12163 - Update to 1.10.4
PR:		ports/61868
Submitted by:	Charles Swiger <chuck@pkix.net> (maintainer)
2004-01-25 19:52:47 +00:00

16 lines
349 B
C

--- src/platform/XWindow.h_orig Sat Jan 24 23:22:56 2004
+++ src/platform/XWindow.h Sat Jan 24 23:23:25 2004
@@ -35,7 +35,12 @@
extern "C" {
#endif
#ifdef __FreeBSD__
-#include <libusb.h>
+# include <osreldate.h>
+# if __FreeBSD_version >= 500111
+# include <usbhid.h>
+# else
+# include <libusbhid.h>
+# endif
#else
#include <usb.h>
#endif