15 lines
259 B
Text
15 lines
259 B
Text
|
$NetBSD: patch-af,v 1.1 2000/10/26 11:17:59 abs Exp $
|
||
|
|
||
|
--- port/getcwd.c.orig Mon Mar 29 03:22:30 1999
|
||
|
+++ port/getcwd.c
|
||
|
@@ -34,7 +34,9 @@
|
||
|
#include <sys/param.h>
|
||
|
|
||
|
extern char *getwd();
|
||
|
+#ifndef errno
|
||
|
extern int errno;
|
||
|
+#endif
|
||
|
|
||
|
char *
|
||
|
getcwd(buf, size)
|