More changes for GO32 canadian cross builds
authorMichael Meissner <gnu@the-meissners.org>
Fri, 24 May 1996 19:12:21 +0000 (19:12 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Fri, 24 May 1996 19:12:21 +0000 (19:12 +0000)
sim/ppc/ChangeLog
sim/ppc/emul_netbsd.c

index df729b32ce143fe4675e5d9d2184c0c587de05f5..cd7813b7ac7e67d47ca09dc532bea79d19465d8f 100644 (file)
@@ -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.
index cc6fe89305afdf2e927a728f011fef3415120a03..51af331691e052d87d4a1b415f08f65dda3a2d33 100644 (file)
@@ -83,6 +83,7 @@ int getrusage();
 #endif
 
 #ifdef HAVE_UNISTD_H
+#undef MAXPATHLEN              /* sys/param.h might define this also */
 #include <unistd.h>
 #endif