summaryrefslogtreecommitdiff
path: root/cad/pcb/patches/patch-ah
blob: 687b496d73a87aa0862b803c9e2b2514dbb0db8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.1 2002/05/31 19:56:21 dmcmahill Exp $

--- src/misc.c.orig	Wed May 13 06:29:49 1998
+++ src/misc.c
@@ -1066,7 +1066,7 @@
 {
 	static	char	path[MAXPATHLEN+1];
 
-#if defined(SYSV) || defined(linux) 
+#if defined(SYSV) || defined(linux) || defined(__NetBSD__)
 	return(getcwd(path, MAXPATHLEN));
 #else
 		/* seems that some BSD releases lack of a prototype for getwd() */