summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 9d40f4994a..90174cccd2 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -75,8 +75,8 @@ static int current_buf=0;
static int num_buffers=1; // default
static XvImage* xvimage[NUM_BUFFERS];
-#include <sys/ipc.h>
#ifdef HAVE_SHM
+#include <sys/ipc.h>
#include <sys/shm.h>
#include <X11/extensions/XShm.h>