From fe898a1f80643215481dee7b61bebc4a6a83b222 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 2 Jul 2014 19:28:48 -0700 Subject: Fix compilation without Kerberos support More includes and some code had to be conditional if not built with Kerberos support, and the non-Kerberos branch of the localgroup tests needed a cast. Change-Id: Ie7111b3280de198f18790c9c39bd9c24ed4657ca Reviewed-on: https://gerrit.stanford.edu/1508 Reviewed-by: Russ Allbery Tested-by: Russ Allbery --- server/config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'server') diff --git a/server/config.c b/server/config.c index a1b5b6a..eafbc03 100644 --- a/server/config.c +++ b/server/config.c @@ -36,7 +36,9 @@ #include #include #include -#include +#ifdef HAVE_KRB5 +# include +#endif #include #include -- cgit v1.2.3