aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorKai Tietz <ktietz@redhat.com>2011-06-09 23:10:25 +0200
committerKai Tietz <ktietz@gcc.gnu.org>2011-06-09 23:10:25 +0200
commitbf806a90c9e000332733ad76e92b1554f740829f (patch)
treee9e2b6be39d4e6e9a8df67c04a8d1345599aecba /gcc/libgcc2.c
parentd5a9738b2f8a90a3f11c2d6003bc88db95349c22 (diff)
downloadgcc-bf806a90c9e000332733ad76e92b1554f740829f.zip
gcc-bf806a90c9e000332733ad76e92b1554f740829f.tar.gz
gcc-bf806a90c9e000332733ad76e92b1554f740829f.tar.bz2
libgcc2.c (L_trampoline): Include windows.h for mingw targets.
2011-06-09 Kai Tietz <ktietz@redhat.com> * libgcc2.c (L_trampoline): Include windows.h for mingw targets. From-SVN: r174860
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index 94763d6..fbf5dcc 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 <windows.h>
int getpagesize (void);
int mprotect (char *,int, int);