Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* usb.c: include st.h.

  fix a compile error on MacOS X reported by Tony Buser.


git-svn-id: svn://svn.a-k-r.org/akr/ruby-usb/trunk@452 0ecacc03-ac1b-0410-941d-e442c79421a6
  • Loading branch information...
commit 6c023cd2bf5f47b374103142e2e8171a866a0fc2 1 parent aa3ab4e
@akr authored
Showing with 10 additions and 0 deletions.
  1. +5 −0 ChangeLog
  2. +4 −0 constants.h
  3. +1 −0  usb.c
View
5 ChangeLog
@@ -1,3 +1,8 @@
+2007-01-21 Tanaka Akira <akr@fsij.org>
+
+ * usb.c: include st.h.
+ fix a compile error on MacOS X reported by Tony Buser.
+
2007-01-10 Tanaka Akira <akr@fsij.org>
* lib/usb.rb (USB.each_device_by_class): new method.
View
4 constants.h
@@ -78,5 +78,9 @@ f(USB_RECIP_OTHER)
f(USB_ENDPOINT_IN)
f(USB_ENDPOINT_OUT)
f(USB_ERROR_BEGIN)
+#ifdef LIBUSB_HAS_GET_DRIVER_NP
f(LIBUSB_HAS_GET_DRIVER_NP)
+#endif
+#ifdef LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP
f(LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP)
+#endif
View
1  usb.c
@@ -19,6 +19,7 @@
*/
#include "ruby.h"
+#include "st.h"
#include <usb.h>
#include <errno.h>
Please sign in to comment.
Something went wrong with that request. Please try again.