include/SDL_main.h
changeset 1356 67114343400d
parent 1312 c9b51268668f
child 1402 d910939febfa
--- a/include/SDL_main.h	Fri Feb 10 03:00:38 2006 +0000
+++ b/include/SDL_main.h	Fri Feb 10 03:19:02 2006 +0000
@@ -23,6 +23,8 @@
 #ifndef _SDL_main_h
 #define _SDL_main_h
 
+#include "SDL_stdinc.h"
+
 /* Redefine main() on Win32 and MacOS so that it is called by winmain.c */
 
 #if defined(WIN32) || defined(_WIN32) || \
@@ -53,9 +55,8 @@
 
 /* From the SDL library code -- needed for registering the app on Win32 */
 #if defined(WIN32)
-#include "SDL_types.h"
+
 #include "begin_code.h"
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -74,8 +75,8 @@
 
 /* From the SDL library code -- needed for registering QuickDraw on MacOS */
 #if defined(macintosh)
+
 #include "begin_code.h"
-
 #ifdef __cplusplus
 extern "C" {
 #endif