aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan_dissect.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/epan_dissect.h')
-rw-r--r--epan/epan_dissect.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/epan_dissect.h b/epan/epan_dissect.h
index 5b0f2d9345..96ea52324f 100644
--- a/epan/epan_dissect.h
+++ b/epan/epan_dissect.h
@@ -24,6 +24,10 @@
#ifndef EPAN_DISSECT_H
#define EPAN_DISSECT_H
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#include "tvbuff.h"
#include "proto.h"
#include "packet_info.h"
@@ -40,5 +44,8 @@ struct _epan_dissect_t {
packet_info pi;
};
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
#endif /* EPAN_DISSECT_H */