diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:58 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:58 +0200 |
commit | d087d778ffb62e2713cb848540bcc819470365bd (patch) | |
tree | d69692a274dd1c7d0672e6bb7155a0fc106f9d49 /include/sane/sanei_usb.h | |
parent | c8bd2513ecba169cff44c09c8058c36987357b18 (diff) | |
parent | 3759ce55ba79b8d3b9d8ed247a252273ee7dade3 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'include/sane/sanei_usb.h')
-rw-r--r-- | include/sane/sanei_usb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sane/sanei_usb.h b/include/sane/sanei_usb.h index c8fff97..ce389ca 100644 --- a/include/sane/sanei_usb.h +++ b/include/sane/sanei_usb.h @@ -68,6 +68,10 @@ #include <stdlib.h> /* for size_t */ +#ifdef __cplusplus +extern "C" { +#endif + /* USB spec defines */ #ifndef USB_CLASS_PER_INTERFACE /* Also defined in libusb */ @@ -521,5 +525,9 @@ sanei_usb_set_altinterface (SANE_Int dn, SANE_Int alternate); extern SANE_Status sanei_usb_get_descriptor( SANE_Int dn, struct sanei_usb_dev_descriptor *desc ); +#ifdef __cplusplus +} // extern "C" +#endif + /*------------------------------------------------------*/ #endif /* sanei_usb_h */ |