summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorderaadt <>1996-01-29 02:04:11 +0000
committerderaadt <>1996-01-29 02:04:11 +0000
commit4a12c1341f3a7e10bd98cebfe52fc96867f82baf (patch)
treebbae18aa5055be1503a6bef92212007f983327ef /src
parentdca8a332c7ca5c2bd156219561dc328e8caf9322 (diff)
downloadopenbsd-4a12c1341f3a7e10bd98cebfe52fc96867f82baf.tar.gz
openbsd-4a12c1341f3a7e10bd98cebfe52fc96867f82baf.tar.bz2
openbsd-4a12c1341f3a7e10bd98cebfe52fc96867f82baf.zip
need errno.h because err declerations have moved
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/string/__strerror.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/string/__strerror.c b/src/lib/libc/string/__strerror.c
index cd604906db..2642e85460 100644
--- a/src/lib/libc/string/__strerror.c
+++ b/src/lib/libc/string/__strerror.c
@@ -33,7 +33,7 @@
33 33
34#if defined(LIBC_SCCS) && !defined(lint) 34#if defined(LIBC_SCCS) && !defined(lint)
35/*static char *sccsid = "from: @(#)strerror.c 5.6 (Berkeley) 5/4/91";*/ 35/*static char *sccsid = "from: @(#)strerror.c 5.6 (Berkeley) 5/4/91";*/
36static char *rcsid = "$Id: __strerror.c,v 1.1.1.1 1995/10/18 08:42:20 deraadt Exp $"; 36static char *rcsid = "$Id: __strerror.c,v 1.2 1996/01/29 02:04:11 deraadt Exp $";
37#endif /* LIBC_SCCS and not lint */ 37#endif /* LIBC_SCCS and not lint */
38 38
39#ifdef NLS 39#ifdef NLS
@@ -46,6 +46,7 @@ static char *rcsid = "$Id: __strerror.c,v 1.1.1.1 1995/10/18 08:42:20 deraadt Ex
46#define sys_errlist _sys_errlist 46#define sys_errlist _sys_errlist
47#define sys_nerr _sys_nerr 47#define sys_nerr _sys_nerr
48 48
49#include <errno.h>
49#include <stdio.h> 50#include <stdio.h>
50#include <string.h> 51#include <string.h>
51 52