From 060599ac6a0e451ebdda8cbd15473ad04ad7d310 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 13 Sep 2016 18:02:37 +0200 Subject: [PATCH] vo_x11: fix some ifdeffery This failed to compile when xext was not available. --- video/out/vo_x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c index 1dfab562b2..9540fd96b6 100644 --- a/video/out/vo_x11.c +++ b/video/out/vo_x11.c @@ -37,7 +37,7 @@ #include "x11_common.h" -#if HAVE_SHM +#if HAVE_SHM && HAVE_XEXT #include #include #include @@ -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;