From: Michael Meissner Date: Fri, 24 May 1996 19:12:21 +0000 (+0000) Subject: More changes for GO32 canadian cross builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=119b85f6ca23faae4fc76849f84083ab808580b0;p=binutils-gdb.git More changes for GO32 canadian cross builds --- diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index df729b32ce1..cd7813b7ac7 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 cc6fe89305a..51af331691e 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