diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-07-25 05:44:11 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-07-25 05:44:11 +0000 |
commit | 8a5eb5526d7c9223583ec836384bdfbe786bbfa8 (patch) | |
tree | b69f1d41871e689a447ec3e2e5ab26302261134e | |
parent | a051acee57a27a547746c93ffe492db4dcd785b7 (diff) |
Let's fix this more or less `correctly', rather then making it worse.
-rw-r--r-- | sys/sys/errno.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/sys/errno.h b/sys/sys/errno.h index ca3781099a5..f7215d4ee91 100644 --- a/sys/sys/errno.h +++ b/sys/sys/errno.h @@ -1,4 +1,4 @@ -/* $OpenBSD: errno.h,v 1.3 1996/03/03 12:11:39 niklas Exp $ */ +/* $OpenBSD: errno.h,v 1.4 1996/07/25 05:44:10 downsj Exp $ */ /* $NetBSD: errno.h,v 1.10 1996/01/20 01:33:53 jtc Exp $ */ /* @@ -44,7 +44,9 @@ #ifndef _KERNEL extern int errno; /* global error number */ -#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) +#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) && !defined(__SYS_ERRLIST) +#define __SYS_ERRLIST + extern int sys_nerr; extern const char *const sys_errlist[]; #endif |