summaryrefslogtreecommitdiff
path: root/www/chimera/patches/patch-af
blob: 7a8c1f1d2272b3e8ccf7f36b941a1946ceac4b7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$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)