1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Fix building on -current

PR:		37966
Submitted by:	obraun@informatik.unibw-muenchen.de
This commit is contained in:
David W. Chapman Jr. 2002-05-15 19:53:17 +00:00
parent 3b820e5629
commit 96a5fd783f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59194
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- icb/c_log.c.orig Sat May 11 23:59:42 2002
+++ icb/c_log.c Sun May 12 00:00:20 2002
@@ -30,7 +30,8 @@
time_t time();
struct tm *t, *localtime();
time_t clock;
- extern int errno, sys_nerr;
+ extern int errno;
+ extern const int sys_nerr;
/* determine pathname to use */
if (path == NULL || *path == '\0') {

View File

@ -0,0 +1,12 @@
--- icb/c_log.c.orig Sat May 11 23:59:42 2002
+++ icb/c_log.c Sun May 12 00:00:20 2002
@@ -30,7 +30,8 @@
time_t time();
struct tm *t, *localtime();
time_t clock;
- extern int errno, sys_nerr;
+ extern int errno;
+ extern const int sys_nerr;
/* determine pathname to use */
if (path == NULL || *path == '\0') {