Fix -current building
PR: 37963 Submitted by: obraun@informatik.unibw-muenchen.de
This commit is contained in:
parent
e0fba1b53d
commit
3b820e5629
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59193
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue