From 45afdb26e47d4e8f1e13c04683e29b11c0fe4199 Mon Sep 17 00:00:00 2001 From: Keith Vetter Date: Thu, 16 Mar 1995 20:35:37 +0000 Subject: [PATCH] Include file changes needed for error table stuff git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5133 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 4 ++++ src/include/krb5/k5-config.h | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 115717799..261e2f732 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,7 @@ +Thu Mar 16 12:12:17 1995 Keith Vetter (keithv@fusion.com) + + * k5-config.h: PC change, getting sys_nerr and sys_errlist to work. + Tue Mar 14 17:38:28 1995 Keith Vetter (keithv@fusion.com) * k5-config.h: more PC changes, mostly dealing with chmod not diff --git a/src/include/krb5/k5-config.h b/src/include/krb5/k5-config.h index c28b6967d..d89361500 100644 --- a/src/include/krb5/k5-config.h +++ b/src/include/krb5/k5-config.h @@ -112,10 +112,6 @@ typedef unsigned char u_char; #define O_TEXT _O_TEXT #define O_BINARY _O_BINARY #define O_NOINHERIT _O_NOINHERIT -#define S_IREAD _S_IREAD -#define S_IWRITE _S_IWRITE -#define S_IRUSR S_IREAD /* read permission, owner */ -#define S_IWUSR S_IWRITE /* write permission, owner */ #define stat _stat #define unlink _unlink #define lseek _lseek @@ -129,6 +125,12 @@ typedef unsigned char u_char; #define getpid _getpid #endif +#ifdef NEED_SYSERROR +/* Only needed by util/et/error_message.c but let's keep the source clean */ +#define sys_nerr _sys_nerr +#define sys_errlist _sys_errlist +#endif + /* XXX these should be parameterized soon... */ #define PROVIDE_DES_CBC_MD5 #define PROVIDE_DES_CBC_CRC -- 2.26.2