aboutsummaryrefslogtreecommitdiffstats
path: root/epan/strutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/strutil.h')
-rw-r--r--epan/strutil.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/strutil.h b/epan/strutil.h
index 38da893a25..8c1dbcbc90 100644
--- a/epan/strutil.h
+++ b/epan/strutil.h
@@ -25,6 +25,10 @@
#ifndef __STRUTIL_H__
#define __STRUTIL_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/* ... thus, config.h needs to be #included */
/** @file
@@ -268,4 +272,8 @@ gchar* ws_strdup_unescape_char (const gchar *str, const gchar chr);
*/
gchar *string_replace(const gchar* str, const gchar *old_val, const gchar *new_val);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __STRUTIL_H__ */