summaryrefslogtreecommitdiff
path: root/ui/capture_globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/capture_globals.h')
-rw-r--r--ui/capture_globals.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/capture_globals.h b/ui/capture_globals.h
index 341b081a4b..1da90d22b6 100644
--- a/ui/capture_globals.h
+++ b/ui/capture_globals.h
@@ -25,6 +25,14 @@
#ifndef __CAPTURE_GLOBALS_H__
#define __CAPTURE_GLOBALS_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
extern capture_options global_capture_opts;
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __CAPTURE_GLOBALS_H__ */