Message ID | VI1PR0801MB2031A2611412B8272A5B9181FFA70@VI1PR0801MB2031.eurprd08.prod.outlook.com |
---|---|
State | New |
Headers | show |
> The changes in r240999 re-arranged includes and > left out signal.h for Windows x86 builds. > > This breaks the build and prevents GCC builds from > completing with messages such as: > > adaint.c:3317:19: error: 'SIGINT' undeclared (first use in this function); > did you mean 'SAIT'? > > else if (sig == SIGINT) > ^~~~~~ > > Bootstrapped successfully on x86_64-w64-mingw32. Thanks for fixing the problem! -- Eric Botcazou
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index 353914708adbdf301f9d59aaa55debfed469f901..819ea47e449725b08c1a531b340ddc6a74b0e5db 100644 --- a/gcc/ada/adaint.c +++ b/gcc/ada/adaint.c @@ -190,6 +190,7 @@ UINT CurrentCCSEncoding; #include <accctrl.h> #include <aclapi.h> #include <tlhelp32.h> +#include <signal.h> #undef DIR_SEPARATOR #define DIR_SEPARATOR '\\'