summaryrefslogtreecommitdiff
path: root/server/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/main.c')
-rw-r--r--server/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/main.c b/server/main.c
index 49a0bbc..12008bc 100644
--- a/server/main.c
+++ b/server/main.c
@@ -97,9 +97,11 @@ static char tkt5_file[256];
#endif
#ifdef HAVE_KRB4
char srvtab_file[128];
-char my_realm[REALM_SZ];
static char tkt_file[128];
#endif
+#if defined(HAVE_KRB4) || defined(HAVE_KRB5)
+char my_realm[REALM_SZ];
+#endif
char acl_dir[128];
char subs_file[128];