aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc')
-rw-r--r--sim/ppc/ChangeLog2
-rw-r--r--sim/ppc/emul_netbsd.c1
2 files changed, 3 insertions, 0 deletions
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 <meissner@tiktok.cygnus.com>
* 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 <unistd.h>
#endif