diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-29 02:04:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-29 02:04:12 +0000 |
commit | 3c5ab70d9f8bf4471668267b26368e0b51c7f450 (patch) | |
tree | 682dc3c9d40fe3118bec8e810b58ae2995fdc6f3 /lib | |
parent | f63cf12a96d8c8ec19180f026f219ccdd214abf8 (diff) |
need errno.h because err declerations have moved
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/string/__strerror.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/string/__strerror.c b/lib/libc/string/__strerror.c index e355dafb8a6..2642e854608 100644 --- a/lib/libc/string/__strerror.c +++ b/lib/libc/string/__strerror.c @@ -33,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strerror.c 5.6 (Berkeley) 5/4/91";*/ -static char *rcsid = "$Id: __strerror.c,v 1.1 1995/10/18 08:42:20 deraadt Exp $"; +static char *rcsid = "$Id: __strerror.c,v 1.2 1996/01/29 02:04:11 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #ifdef NLS @@ -46,6 +46,7 @@ static char *rcsid = "$Id: __strerror.c,v 1.1 1995/10/18 08:42:20 deraadt Exp $" #define sys_errlist _sys_errlist #define sys_nerr _sys_nerr +#include <errno.h> #include <stdio.h> #include <string.h> |