Fix -current building

PR:		37963
Submitted by:	obraun@informatik.unibw-muenchen.de
This commit is contained in:
David W. Chapman Jr. 2002-05-15 19:51:08 +00:00
parent e0fba1b53d
commit 3b820e5629
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59193

View file

@ -3,7 +3,8 @@
@@ -92,7 +92,9 @@
/* definitions missing from many system headers */
extern int errno;
extern int sys_nerr;
-extern int sys_nerr;
+extern const int sys_nerr;
+#ifndef __FreeBSD__
extern char *sys_errlist[];
+#endif