summaryrefslogtreecommitdiff
path: root/server/main.c
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2008-12-22 18:36:07 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2008-12-22 18:36:07 +0000
commit8021b49e91b931707a73d7935d7eb7d4b0b85bd2 (patch)
treea1adf40891d516bcaa2085be567b406be32fce97 /server/main.c
parentbdcf6360d9017e7d8b1312775be410e2a49f7b36 (diff)
of course, it helps if you define it
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];