summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/bbs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/bbs.h b/include/bbs.h
index 43352242..4c03621b 100644
--- a/include/bbs.h
+++ b/include/bbs.h
@@ -3,6 +3,10 @@
#ifndef INCLUDE_BBS_H
#define INCLUDE_BBS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "osdep.h"
#include <stdio.h>
@@ -71,4 +75,8 @@ typedef time_t time4_t;
#include "var.h"
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* INCLUDE_BBS_H */