aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-09 15:02:49 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-09 15:02:49 -0400
commitc5df463e3b500fcee1b350d64b7405298f571bd4 (patch)
treebc2330e5ff7c0c482b77dddf41c26d9e0421b029 /gcc/libgcc2.c
parent2225b8f9803213be26181c9b633922f1683b5798 (diff)
downloadgcc-c5df463e3b500fcee1b350d64b7405298f571bd4.zip
gcc-c5df463e3b500fcee1b350d64b7405298f571bd4.tar.gz
gcc-c5df463e3b500fcee1b350d64b7405298f571bd4.tar.bz2
Include <mach.h>, not <mach/mach.h> for NeXTStep 2.1.
From-SVN: r7008
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index 9938a31..e46105b 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -1792,8 +1792,11 @@ TRANSFER_FROM_TRAMPOLINE
/* Make stack executable so we can call trampolines on stack.
This is called from INITIALIZE_TRAMPOLINE in next.h. */
-
-#include <mach/mach.h>
+#ifdef NeXTStep21
+ #include <mach.h>
+#else
+ #include <mach/mach.h>
+#endif
void
__enable_execute_stack (addr)