aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitlbee.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitlbee.h b/bitlbee.h
index ace78880..847cecf8 100644
--- a/bitlbee.h
+++ b/bitlbee.h
@@ -26,6 +26,10 @@
#ifndef _BITLBEE_H
#define _BITLBEE_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* Stupid GNU :-P */
#endif
@@ -174,4 +178,9 @@ char *set_eval_control_channel( set_t *set, char *new_name );
extern global_t global;
+#ifdef __cplusplus
+}
#endif
+
+#endif
+