X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=sigrok-proto.h;h=57b899df16ac36c894cec77773ce6e8601a88af8;hb=22b02383442ec55a11cc6dd2b4c467d1de0b5bd2;hp=f6187a91ad3bf8da11665fe7208db906d2e05d5d;hpb=7d6588743503514c9de5c4fc8a511e9b0bdad7e6;p=libsigrok.git diff --git a/sigrok-proto.h b/sigrok-proto.h index f6187a91..57b899df 100644 --- a/sigrok-proto.h +++ b/sigrok-proto.h @@ -71,9 +71,11 @@ struct sr_device_instance *sr_get_device_instance(GSList *device_instances, void sr_device_instance_free(struct sr_device_instance *sdi); /* USB-specific instances */ +#ifdef HAVE_LIBUSB_1_0 struct sr_usb_device_instance *sr_usb_device_instance_new(uint8_t bus, uint8_t address, struct libusb_device_handle *hdl); void sr_usb_device_instance_free(struct sr_usb_device_instance *usb); +#endif /* Serial-specific instances */ struct sr_serial_device_instance *sr_serial_device_instance_new(