aboutsummaryrefslogtreecommitdiffstats
path: root/ui/capture.h
diff options
context:
space:
mode:
authorAurelien Aptel <aaptel@suse.com>2020-05-02 15:12:07 +0200
committerAnders Broman <a.broman58@gmail.com>2020-05-04 11:22:22 +0000
commit9e299c116632c45ba49514b15899a1e30be7f0e0 (patch)
treea9f1f2e270944022462127a1ca70762f3794e314 /ui/capture.h
parentdf5b18f437ee60d51c8e7d3ccd3c8db0dfdd75f0 (diff)
ui/capture.h: add missing include to fix build with GCC 9.3
ui/capture.h has a function prototype using capture_file struct without it being defined yet. This fails to compile with recent GCC (9.3.1) Bug: 16547 Change-Id: I84f932de2e7ed70f14aa157b9c3b1d1f80b0016f Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-on: https://code.wireshark.org/review/37024 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/capture.h')
-rw-r--r--ui/capture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/capture.h b/ui/capture.h
index 1a5369926f..70a70b9a27 100644
--- a/ui/capture.h
+++ b/ui/capture.h
@@ -19,6 +19,7 @@
#include "capture_opts.h"
#include "capture_info.h"
+#include "cfile.h"
#include "capchild/capture_session.h"
#ifdef __cplusplus