summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-09-21 08:17:59 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-09-21 08:17:59 +0800
commit3d8e3bc3cebd807bd32d8e9e11b0555aa24eb980 (patch)
tree7b87488cf86f11b065a9c9504bfd3268178f55e6 /include
parent6aafb916266e197bdf3261981aad70e9f94b3153 (diff)
downloadpttbbs-3d8e3bc3cebd807bd32d8e9e11b0555aa24eb980.tar
pttbbs-3d8e3bc3cebd807bd32d8e9e11b0555aa24eb980.tar.gz
pttbbs-3d8e3bc3cebd807bd32d8e9e11b0555aa24eb980.tar.bz2
pttbbs-3d8e3bc3cebd807bd32d8e9e11b0555aa24eb980.tar.lz
pttbbs-3d8e3bc3cebd807bd32d8e9e11b0555aa24eb980.tar.xz
pttbbs-3d8e3bc3cebd807bd32d8e9e11b0555aa24eb980.tar.zst
pttbbs-3d8e3bc3cebd807bd32d8e9e11b0555aa24eb980.zip
* fix compile
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3566 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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 */