summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/x11_common.c2
-rw-r--r--libvo/x11_common.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index b3e10a40be..bcdf14b307 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -15,6 +15,8 @@
#include <X11/Xutil.h>
#include <X11/Xatom.h>
+#include <X11/extensions/dpms.h>
+
static int dpms_disabled=0;
static int timeout_save=0;
diff --git a/libvo/x11_common.h b/libvo/x11_common.h
index 496f9162a9..8dab26385f 100644
--- a/libvo/x11_common.h
+++ b/libvo/x11_common.h
@@ -1,4 +1,3 @@
-#include <X11/extensions/dpms.h>
#ifdef X11_FULLSCREEN