From 5981dab95b87ffd629d6ab6a45289af60c3d3b27 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 1 Jan 2015 15:05:25 -0800 Subject: Declare read_keytab_file() in epan/dissectors/packet-kerberos.h. Don't throw its declaration in file.h, as it's not defined in file.c. Instead, include it in epan/dissectors/packet-kerberos.h and include that wherever read_keytab_file() is called. Yes, that means you also have to include and, therefore, you have to include . Yes, that should be cleaned up, perhaps by splitting the Kerberos support code into "stuff that handles encryption keys without any reference to dissection" and "stuff that does dissection-related work". Change-Id: Ide5c31e6d85e6011d57202f728dbc656e36138ef Reviewed-on: https://code.wireshark.org/review/6210 Reviewed-by: Guy Harris --- ui/gtk/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui/gtk/main.c') diff --git a/ui/gtk/main.c b/ui/gtk/main.c index 930c8d668d..9db601585c 100644 --- a/ui/gtk/main.c +++ b/ui/gtk/main.c @@ -90,6 +90,11 @@ #include #include +#if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS) +#include +#include +#endif + #include #include -- cgit v1.2.3