aboutsummaryrefslogtreecommitdiffstats
path: root/epan/circuit.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/circuit.h')
-rw-r--r--epan/circuit.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/circuit.h b/epan/circuit.h
index 7e802ba62b..1271706a33 100644
--- a/epan/circuit.h
+++ b/epan/circuit.h
@@ -27,6 +27,10 @@
#include "packet.h" /* for circuit dissector type */
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/*
* Data structure representing a circuit.
*/
@@ -69,5 +73,8 @@ extern gboolean
try_circuit_dissector(circuit_type ctype, guint32 circuit_id, guint32 frame,
tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
-#endif /* circuit.h */
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+#endif /* circuit.h */