--- BREW 3.1.2 Ja.orig/sdk/inc/AEEComdef.h	2005-01-28 16:23:06.000000000 +0900
+++ BREW 3.1.2 Ja/sdk/inc/AEEComdef.h	2005-05-19 18:03:47.643784000 +0900
@@ -161,6 +161,10 @@ DEFINED CONSTANTS
 ** Standard Types
 ** ----------------------------------------------------------------------- */
 
+#ifdef __MINGW32__
+#include <_mingw.h>
+#endif
+
 /* The following definitions are the same accross platforms.  This first
 ** group are the sanctioned types.
 */
