summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2014-07-02 19:28:48 -0700
committerRuss Allbery <rra@stanford.edu>2014-07-02 19:34:42 -0700
commitfe898a1f80643215481dee7b61bebc4a6a83b222 (patch)
tree3523383f16ee51ea7c4cfad56442db3d6c4b4905 /server
parent0f951c15082a0f0bec5593c9edb9a8695fc8584e (diff)
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 <rra@stanford.edu> Tested-by: Russ Allbery <rra@stanford.edu>
Diffstat (limited to 'server')
-rw-r--r--server/config.c4
1 files changed, 3 insertions, 1 deletions
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 <server/internal.h>
#include <util/macros.h>
#include <util/messages.h>
-#include <util/messages-krb5.h>
+#ifdef HAVE_KRB5
+# include <util/messages-krb5.h>
+#endif
#include <util/vector.h>
#include <util/xmalloc.h>