vo_x11: fix some ifdeffery

This failed to compile when xext was not available.
This commit is contained in:
wm4 2016-09-13 18:02:37 +02:00
parent 0ccceecdc6
commit 060599ac6a
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
#include "x11_common.h"
#if HAVE_SHM
#if HAVE_SHM && HAVE_XEXT
#include <sys/ipc.h>
#include <sys/shm.h>
#include <X11/extensions/XShm.h>
@ -78,7 +78,7 @@ struct priv {
int current_buf;
#if HAVE_SHM
#if HAVE_SHM && HAVE_XEXT
int Shmem_Flag;
XShmSegmentInfo Shminfo[2];
int Shm_Warned_Slow;