$OpenBSD: patch-stream_tvi_v4l2_c,v 1.1 2018/06/25 16:43:01 sthen Exp $

OpenBSD doesn't define _POSIX_TIMERS because we are missing some of the
required clocks, but we do have enough for mpv.

Index: stream/tvi_v4l2.c
--- stream/tvi_v4l2.c.orig
+++ stream/tvi_v4l2.c
@@ -44,6 +44,8 @@ known issues:
 #include <sys/time.h>
 #include <sys/types.h>
 #include <unistd.h>
+#undef _POSIX_TIMERS
+#define _POSIX_TIMERS 1
 #include <math.h>
 #if HAVE_SYS_VIDEOIO_H
 #include <sys/videoio.h>
