summaryrefslogtreecommitdiffstats
path: root/src/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.h')
-rw-r--r--src/misc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/misc.h b/src/misc.h
index 42f027f..dd71194 100644
--- a/src/misc.h
+++ b/src/misc.h
@@ -19,5 +19,13 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
const char *get_os(void);
const char *get_compiler(void);
+
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif