From: Kai Tietz Date: Thu, 9 Jun 2011 21:10:25 +0000 (+0200) Subject: libgcc2.c (L_trampoline): Include windows.h for mingw targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf806a90c9e000332733ad76e92b1554f740829f;p=gcc.git libgcc2.c (L_trampoline): Include windows.h for mingw targets. 2011-06-09 Kai Tietz * libgcc2.c (L_trampoline): Include windows.h for mingw targets. From-SVN: r174860 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1c12eac28b..aa9a4ec8dd8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-06-09 Kai Tietz + + * libgcc2.c (L_trampoline): Include windows.h for mingw targets. + 2011-06-09 Eric Botcazou * config/sparc/sparc.md (return_internal): Adjust 'length' attribute. diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 94763d658f4..fbf5dcc2155 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -2032,6 +2032,7 @@ __clear_cache (char *beg __attribute__((__unused__)), /* Jump to a trampoline, loading the static chain address. */ #if defined(WINNT) && ! defined(__CYGWIN__) +#include int getpagesize (void); int mprotect (char *,int, int);