summaryrefslogtreecommitdiff
path: root/libusbhp/libusbhp.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-26 06:40:17 -0400
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-26 06:40:17 -0400
commit3f8cf55f143828a4ada0b2446ea6fcdcf595ed60 (patch)
tree56b5056a478525c015cc3ef8025081f7a72bb93f /libusbhp/libusbhp.h
parent42fb6a9474cb189d62d895bbc65185d7223ca564 (diff)
Fixed compilation with autotools.
Diffstat (limited to 'libusbhp/libusbhp.h')
-rw-r--r--libusbhp/libusbhp.h8
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: