summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-12-26 16:57:21 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-12-26 21:13:10 +0100
commitc7f9c060e4dbca0a9ebe1eab63e1e64c317e3349 (patch)
tree430f8a1e27e0ccbcb39a7feae7f21a4fbe6c0aff /video
parentdbf879be140472e370cf5074c9c0a1959eb4533b (diff)
downloadmpv-c7f9c060e4dbca0a9ebe1eab63e1e64c317e3349.tar.bz2
mpv-c7f9c060e4dbca0a9ebe1eab63e1e64c317e3349.tar.xz
build: fix shm detection on OpenBSD
Fixes #427
Diffstat (limited to 'video')
-rw-r--r--video/out/vo_xv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c
index ff5cfdbcd3..43a98a7068 100644
--- a/video/out/vo_xv.c
+++ b/video/out/vo_xv.c
@@ -34,6 +34,7 @@
#include "config.h"
#if HAVE_SHM && HAVE_XEXT
+#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <X11/extensions/XShm.h>