summaryrefslogtreecommitdiff
path: root/h/zephyr/zephyr_conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'h/zephyr/zephyr_conf.h')
-rw-r--r--h/zephyr/zephyr_conf.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/h/zephyr/zephyr_conf.h b/h/zephyr/zephyr_conf.h
index 850c85a..b49228f 100644
--- a/h/zephyr/zephyr_conf.h
+++ b/h/zephyr/zephyr_conf.h
@@ -21,14 +21,15 @@
#ifdef Z_HaveKerberos
#define SERVER_SERVICE "zephyr"
#define SERVER_INSTANCE "zephyr"
+#define SERVER_SRVTAB "/etc/athena/zephyr/srvtab"
#endif
/* General filenames */
#define DEFAULT_VARS_FILE "/etc/athena/zephyr.vars"
/* Service names */
-#define HM_SVCNAME "zephyr-hm"
-#define SERVER_SVCNAME "zephyr-clt"
+#define HM_SVCNAME "zephyr-hm"
+#define SERVER_SVCNAME "zephyr-clt"
#if defined(vax) || defined(ibm032)
#define memset(a,b,c) bzero(a,c)
@@ -38,6 +39,18 @@
#define strrchr rindex
#endif
+#ifdef SUNOS
+extern char *sys_errlist[];
+
+#ifndef memmove
+#define memmove(a,b,c) bcopy(b,a,c)
+#endif
+
+#ifndef memmove
+#define strerror(e) (sys_errlist[e])
+#endif
+#endif
+
#ifdef ultrix
/* If you are using Ultrix versions prior to 3.0, uncomment the following
* three lines so that users don't need to specify -DULTRIX22 on their