diff src/video/dga/SDL_dgavideo.h @ 1792:409974dedf2e

More compile fixes for systems without the DPMS extension
author Sam Lantinga <slouken@libsdl.org>
date Tue, 09 May 2006 07:50:28 +0000
parents 45669d4efd02
children c121d94672cb 6f7af895ab02
line wrap: on
line diff
--- 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)