summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libwapcaplet/libwapcaplet.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/libwapcaplet/libwapcaplet.h b/include/libwapcaplet/libwapcaplet.h
index e5b1844..a92dc4e 100644
--- a/include/libwapcaplet/libwapcaplet.h
+++ b/include/libwapcaplet/libwapcaplet.h
@@ -9,6 +9,11 @@
#ifndef libwapcaplet_h_
#define libwapcaplet_h_
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <sys/types.h>
#include <stdbool.h>
#include <stdint.h>
@@ -215,4 +220,8 @@ extern uint32_t lwc_string_hash_value(lwc_string *str);
*/
extern void lwc_iterate_strings(lwc_iteration_callback_fn cb, void *pw);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* libwapcaplet_h_ */