diff --git a/nt/addsection.c b/nt/addsection.c index a07b39de58a..55e83977fb1 100644 --- a/nt/addsection.c +++ b/nt/addsection.c @@ -26,6 +26,10 @@ Boston, MA 02111-1307, USA. #include #include #include +#ifdef __GNUC__ +#define _ANONYMOUS_UNION +#define _ANONYMOUS_STRUCT +#endif #include /* Include relevant definitions from IMAGEHLP.H, which can be found diff --git a/nt/preprep.c b/nt/preprep.c index 0c10ab98b82..08a29ae5931 100644 --- a/nt/preprep.c +++ b/nt/preprep.c @@ -26,6 +26,10 @@ Boston, MA 02111-1307, USA. #include #include #include +#ifdef __GNUC__ +#define _ANONYMOUS_UNION +#define _ANONYMOUS_STRUCT +#endif #include /* Include relevant definitions from IMAGEHLP.H, which can be found