lets compile shall we and only include sdl headers if building
authorCarsten Haitzler <raster@rasterman.com>
Fri, 24 Feb 2012 00:58:13 +0000 (00:58 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Fri, 24 Feb 2012 00:58:13 +0000 (00:58 +0000)
ecore-evas-sdl stuff eh?

SVN revision: 68372

legacy/ecore/src/lib/ecore_evas/ecore_evas_sdl.c

index 28c69cd..8567cc1 100644 (file)
@@ -18,7 +18,9 @@
 #include <stdlib.h>
 #include <string.h>
 
+#if defined(BUILD_ECORE_EVAS_SOFTWARE_SDL) || defined(BUILD_ECORE_EVAS_OPENGL_SDL)
 #include <SDL/SDL.h>
+#endif
 
 #include "ecore_evas_private.h"
 #include "Ecore_Evas.h"