freebsd-ports/net/icb/files/patch-icb::c_log.c
David W. Chapman Jr. 96a5fd783f Fix building on -current
PR:		37966
Submitted by:	obraun@informatik.unibw-muenchen.de
2002-05-15 19:53:17 +00:00

12 lines
322 B
C

--- 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') {