include/SDL_active.h
changeset 1353 7ba544e2888d
parent 1312 c9b51268668f
child 1356 67114343400d
--- a/include/SDL_active.h	Thu Feb 09 05:46:55 2006 +0000
+++ b/include/SDL_active.h	Thu Feb 09 09:07:13 2006 +0000
@@ -25,6 +25,9 @@
 #ifndef _SDL_active_h
 #define _SDL_active_h
 
+#include "SDL_stdinc.h"
+
+#ifndef DISABLE_EVENTS
 #include "begin_code.h"
 /* Set up for C function definitions, even when using C++ */
 #ifdef __cplusplus
@@ -51,5 +54,6 @@
 }
 #endif
 #include "close_code.h"
+#endif /* !DISABLE_EVENTS */
 
 #endif /* _SDL_active_h */