src/video/pandora/SDL_pandora.c
changeset 6044 35448a5ea044
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
--- a/src/video/pandora/SDL_pandora.c	Mon Oct 31 03:06:32 2011 -0400
+++ b/src/video/pandora/SDL_pandora.c	Mon Oct 31 05:56:58 2011 -0400
@@ -18,9 +18,11 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
+#include "SDL_config.h"
+
+#if SDL_VIDEO_DRIVER_PANDORA
 
 /* SDL internals */
-#include "SDL_config.h"
 #include "../SDL_sysvideo.h"
 #include "SDL_version.h"
 #include "SDL_syswm.h"
@@ -863,4 +865,6 @@
     return;
 }
 
+#endif /* SDL_VIDEO_DRIVER_PANDORA */
+
 /* vi: set ts=4 sw=4 expandtab: */