diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-26 06:40:17 -0400 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-26 06:40:17 -0400 |
commit | 3f8cf55f143828a4ada0b2446ea6fcdcf595ed60 (patch) | |
tree | 56b5056a478525c015cc3ef8025081f7a72bb93f /libusbhp/libusbhp.h | |
parent | 42fb6a9474cb189d62d895bbc65185d7223ca564 (diff) |
Fixed compilation with autotools.
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: |