diff src/video/x11/SDL_x11yuv.c @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents c71e05b4dc2e
children d910939febfa
line wrap: on
line diff
--- a/src/video/x11/SDL_x11yuv.c	Fri Feb 10 07:29:08 2006 +0000
+++ b/src/video/x11/SDL_x11yuv.c	Thu Feb 16 10:11:48 2006 +0000
@@ -22,7 +22,9 @@
 
 /* This is the XFree86 Xv extension implementation of YUV video overlays */
 
-#ifdef XFREE86_XV
+#include "SDL_config.h"
+
+#if SDL_VIDEO_DRIVER_X11_XV
 
 #include <X11/Xlib.h>
 #ifndef NO_SHARED_MEMORY
@@ -30,11 +32,10 @@
 #include <sys/shm.h>
 #include <X11/extensions/XShm.h>
 #endif
-#include <Xext/extensions/Xvlib.h>
+#include "../Xext/extensions/Xvlib.h"
 
-#include "SDL_video.h"
 #include "SDL_x11yuv_c.h"
-#include "SDL_yuvfuncs.h"
+#include "../SDL_yuvfuncs.h"
 
 #define XFREE86_REFRESH_HACK
 #ifdef XFREE86_REFRESH_HACK
@@ -407,4 +408,4 @@
 #endif
 }
 
-#endif /* XFREE86_XV */
+#endif /* SDL_VIDEO_DRIVER_X11_XV */