From bf806a90c9e000332733ad76e92b1554f740829f Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Thu, 9 Jun 2011 23:10:25 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/libgcc2.c | 1 + 2 files changed, 5 insertions(+) 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); -- 2.30.2