diff options
Diffstat (limited to 'libusbhp/libusbhp.h')
-rw-r--r-- | libusbhp/libusbhp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libusbhp/libusbhp.h b/libusbhp/libusbhp.h index ccf7125..7622576 100644 --- a/libusbhp/libusbhp.h +++ b/libusbhp/libusbhp.h @@ -41,6 +41,11 @@ #include <sys/time.h> #endif +#ifdef __cplusplus +extern "C" { +#endif + + struct libusbhp_t; struct libusbhp_device_t { @@ -66,6 +71,9 @@ EXPORT libusbhp_hotplug_cb_fn disconnected_cb, void *user_data); +#ifdef __cplusplus +} +#endif /*** // Libusbx implementation: |