aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2017-10-26 20:46:35 +0200
committerAnders Broman <a.broman58@gmail.com>2017-10-26 19:52:56 +0000
commitb4a6f4e2441153ffa8c6df7d790bc9cb66df0a9e (patch)
tree8c3a41946c7dd9bacaf9bfc9cfa1bc5b18bf0458
parent6d092c134477ae1bd081a0ce8d79d964eb5f28eb (diff)
oss-fuzzshark: add missing include to fix implicit declaration of color_filters_init()
/src/wireshark/tools/oss-fuzzshark/fuzzshark.c:218:7: warning: implicit declaration of function 'color_filters_init' is invalid in C99 [-Wimplicit-function-declaration] if (!color_filters_init(&err_msg, NULL)) ^ 1 warning generated. Change-Id: I37dbc4521b6a3cda271e6e33a290ed35911e7dda Reviewed-on: https://code.wireshark.org/review/24086 Petri-Dish: Jakub Zawadzki <darkjames-ws@darkjames.pl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--tools/oss-fuzzshark/fuzzshark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/oss-fuzzshark/fuzzshark.c b/tools/oss-fuzzshark/fuzzshark.c
index a88006c..b623565 100644
--- a/tools/oss-fuzzshark/fuzzshark.c
+++ b/tools/oss-fuzzshark/fuzzshark.c
@@ -42,6 +42,7 @@
#include <wiretap/wtap.h>
+#include <epan/color_filters.h>
#include <epan/timestamp.h>
#include <epan/prefs.h>
#include <epan/column.h>