summaryrefslogtreecommitdiff
path: root/src/cli_val.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli_val.h')
-rw-r--r--src/cli_val.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cli_val.h b/src/cli_val.h
index dd5a52c..cd19471 100644
--- a/src/cli_val.h
+++ b/src/cli_val.h
@@ -4,6 +4,10 @@
#include <cli_cstore.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef FALSE
#define FALSE 0
#endif
@@ -120,4 +124,9 @@ int restore_output(void);
#else
#define DPRINT(fmt, arg...) while (0) { printf(fmt, ##arg); }
#endif
+
+#ifdef __cplusplus
+}
+#endif
+
#endif