aboutsummaryrefslogtreecommitdiffstats
path: root/epan/value_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/value_string.h')
-rw-r--r--epan/value_string.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/value_string.h b/epan/value_string.h
index d5326a2776..c83aa73b24 100644
--- a/epan/value_string.h
+++ b/epan/value_string.h
@@ -25,6 +25,10 @@
#ifndef __VALUE_STRING_H__
#define __VALUE_STRING_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#include <glib.h>
#include "ws_symbol_export.h"
@@ -250,8 +254,11 @@ WS_DLL_LOCAL
const gchar *
value_string_ext_match_type_str(const value_string_ext *vse);
-#endif /* __VALUE_STRING_H__ */
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+#endif /* __VALUE_STRING_H__ */
/*
* Editor modelines - http://www.wireshark.org/tools/modelines.html