[libhid-discuss] Internal definition of struct usb_dev_handle breaks portability

Albert Lee trisk+alioth at acm.jhu.edu
Fri Mar 30 01:33:28 CET 2007


Hi,

I noticed problems building libhid on Solaris because libhid 
makes assumptions about struct usb_dev_handle, which it keeps internal 
copies of. This is fairly bad.  Is there a reason not to use usb_device() 
to get the device from the handle instead of poking at the struct 
contents?

-Albert



More information about the libhid-discuss mailing list