changeset 2969:291f45785de9

fix to compile when SHM is disabled
author alex
date Sun, 18 Nov 2001 14:09:56 +0000
parents 9989497ab31e
children 4ecb26be6657
files libvo/vo_x11.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_x11.c	Sun Nov 18 13:10:22 2001 +0000
+++ b/libvo/vo_x11.c	Sun Nov 18 14:09:56 2001 +0000
@@ -27,7 +27,7 @@
 
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
-#include <X11/extensions/XShm.h>
+//#include <X11/extensions/XShm.h>
 #ifdef HAVE_XF86VM
 #include <X11/extensions/xf86vmode.h>
 #endif
@@ -74,6 +74,8 @@
 
 //static int vo_dwidth,vo_dheight;
 
+static int Flip_Flag;
+
 #define SH_MEM
 
 #ifdef SH_MEM
@@ -92,8 +94,6 @@
 static int gXErrorFlag;
 static int CompletionType=-1;
 
-static int Flip_Flag;
-
 static void InstallXErrorHandler()
 {
         //XSetErrorHandler( HandleXError );