diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-04-02 11:44:53 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-04-02 11:44:53 +0000 |
commit | a955107b59e3e7763e6f656fe31afe8531dc3e4b (patch) | |
tree | d3d82aaf8bff2c50854b0402ec660152ebfef3fe /palm | |
parent | b45b721e2ca30f3666030e5ea1b180fbb4db669f (diff) | |
download | ports-a955107b59e3e7763e6f656fe31afe8531dc3e4b.tar.gz ports-a955107b59e3e7763e6f656fe31afe8531dc3e4b.zip |
Notes
Diffstat (limited to 'palm')
-rw-r--r-- | palm/pilot-link/files/patch-libpisock_freebsdusb.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/palm/pilot-link/files/patch-libpisock_freebsdusb.c b/palm/pilot-link/files/patch-libpisock_freebsdusb.c new file mode 100644 index 000000000000..e6d9a5e5b8cd --- /dev/null +++ b/palm/pilot-link/files/patch-libpisock_freebsdusb.c @@ -0,0 +1,15 @@ +--- libpisock/freebsdusb.c.orig 2006-10-12 06:21:22.000000000 -0800 ++++ libpisock/freebsdusb.c 2009-03-02 10:06:01.000000000 -0900 +@@ -48,7 +48,12 @@ + + #if defined(__FreeBSD__) + /* freebsd usb header */ ++#include <sys/param.h> ++#if __FreeBSD_version+0 >= 800064 ++#include <legacy/dev/usb/usb.h> ++#else + #include <dev/usb/usb.h> ++#endif + #define MAX_BUF 256 + #endif + |