From f1b6d6b0a78b62bdad75782a38663db87f8da23c Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 31 Oct 1994 01:00:25 +0000 Subject: A few changes for SunOS and the /etc/athena/zephyr config files. --- h/zephyr/zephyr_conf.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'h/zephyr') 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 -- cgit v1.2.3