summaryrefslogtreecommitdiff
path: root/include/parserutils/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/parserutils/types.h')
-rw-r--r--include/parserutils/types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/parserutils/types.h b/include/parserutils/types.h
index b36e4aa..a4bd9b3 100644
--- a/include/parserutils/types.h
+++ b/include/parserutils/types.h
@@ -8,8 +8,17 @@
#ifndef parserutils_types_h_
#define parserutils_types_h_
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include <stdbool.h>
#include <inttypes.h>
+#ifdef __cplusplus
+}
+#endif
+
#endif