diff options
author | wm4 <wm4@nowhere> | 2016-09-13 18:02:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-13 18:26:06 +0200 |
commit | 060599ac6a0e451ebdda8cbd15473ad04ad7d310 (patch) | |
tree | 079cd5cc61508a5df5451fcc1ef3c5238b73c537 /video/out/vo_x11.c | |
parent | 0ccceecdc61ba913d7dc591432ebd3b00836b9bd (diff) | |
download | mpv-060599ac6a0e451ebdda8cbd15473ad04ad7d310.tar.bz2 mpv-060599ac6a0e451ebdda8cbd15473ad04ad7d310.tar.xz |
vo_x11: fix some ifdeffery
This failed to compile when xext was not available.
Diffstat (limited to 'video/out/vo_x11.c')
-rw-r--r-- | video/out/vo_x11.c | 4 |
1 files 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 <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; |