From 119b85f6ca23faae4fc76849f84083ab808580b0 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Fri, 24 May 1996 19:12:21 +0000 Subject: More changes for GO32 canadian cross builds --- sim/ppc/ChangeLog | 2 ++ sim/ppc/emul_netbsd.c | 1 + 2 files changed, 3 insertions(+) (limited to 'sim/ppc') diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index df729b3..cd7813b 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -9,6 +9,8 @@ Fri May 24 10:08:10 1996 Michael Meissner * emul_netbsd.c: Add support for missing system calls, and/or missing stat fields. + (MAXPATHLEN): Undefine if including unistd.h, since sys/param.h + might define it. * hw_pal.c (WITH_STDIO): Redefine if O_NDELAY, F_GETFL, or F_SETFL are not defined. diff --git a/sim/ppc/emul_netbsd.c b/sim/ppc/emul_netbsd.c index cc6fe89..51af331 100644 --- a/sim/ppc/emul_netbsd.c +++ b/sim/ppc/emul_netbsd.c @@ -83,6 +83,7 @@ int getrusage(); #endif #ifdef HAVE_UNISTD_H +#undef MAXPATHLEN /* sys/param.h might define this also */ #include #endif -- cgit v1.1