src/render/nds/SDL_ndsrender.c
changeset 5429 76329ba1fa5c
parent 5423 b69fa50e80d7
child 5515 0fcf231a6e74
--- a/src/render/nds/SDL_ndsrender.c	Sun Mar 06 21:18:36 2011 -0800
+++ b/src/render/nds/SDL_ndsrender.c	Sun Mar 06 21:19:02 2011 -0800
@@ -19,6 +19,9 @@
     Sam Lantinga
     slouken@libsdl.org
 */
+#include "SDL_config.h"
+
+#if SDL_VIDEO_RENDER_NDS
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -26,8 +29,6 @@
 
 #include <gl2d.h>
 
-#include "SDL_config.h"
-
 #include "SDL_video.h"
 #include "../../video/SDL_sysvideo.h"
 #include "SDL_render.h"
@@ -361,4 +362,6 @@
      }
 };
 
+#endif /* SDL_VIDEO_RENDER_NDS */
+
 /* vi: set ts=4 sw=4 expandtab: */