src/video/dga/SDL_dgavideo.h
changeset 1792 409974dedf2e
parent 1784 45669d4efd02
child 1895 c121d94672cb
child 4056 6f7af895ab02
--- a/src/video/dga/SDL_dgavideo.h	Tue May 09 07:45:12 2006 +0000
+++ b/src/video/dga/SDL_dgavideo.h	Tue May 09 07:50:28 2006 +0000
@@ -25,6 +25,7 @@
 #define _SDL_dgavideo_h
 
 #include <X11/Xlib.h>
+#include <X11/Xproto.h>
 
 #include "SDL_mouse.h"
 #include "SDL_mutex.h"
@@ -93,9 +94,7 @@
 
 	/* Screensaver settings */
 	int screensaver_timeout;
-#if SDL_VIDEO_DRIVER_X11_DPMS
 	BOOL dpms_enabled;
-#endif
 };
 /* Old variable names */
 #define DGA_Display		(this->hidden->DGA_Display)