summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-01-29 02:04:11 +0000
committerderaadt <deraadt@openbsd.org>1996-01-29 02:04:11 +0000
commitee205b4c51355cfab0860a1e46d538ca5602bccc (patch)
tree5b7adabfa5dde93f0dd0a627ab2f1190a6829d95 /lib/libc
parentrealloc(ptr, 0) does not free; from seebs@taniemarie.solon.com; (diff)
downloadwireguard-openbsd-ee205b4c51355cfab0860a1e46d538ca5602bccc.tar.xz
wireguard-openbsd-ee205b4c51355cfab0860a1e46d538ca5602bccc.zip
need errno.h because err declerations have moved
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/string/__strerror.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/string/__strerror.c b/lib/libc/string/__strerror.c
index cd604906db7..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.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.1.1 1995/10/18 08:42:20 deraadt Ex
#define sys_errlist _sys_errlist
#define sys_nerr _sys_nerr
+#include <errno.h>
#include <stdio.h>
#include <string.h>