2013-09-26 17:14:40 +02:00

19 lines
401 B
Plaintext

$NetBSD: patch-ab,v 1.1.1.1 2011/01/19 04:15:41 jmcneill Exp $
Fix v4l2 header path on NetBSD.
--- va/va_backend_tpi.h.orig 2011-01-19 01:42:46.000000000 +0000
+++ va/va_backend_tpi.h
@@ -32,7 +32,11 @@
#include <va/va.h>
#include <va/va_backend.h>
+#if defined(__linux__)
#include <linux/videodev2.h>
+#elif defined(__NetBSD__)
+#include <sys/videoio.h>
+#endif
struct VADriverVTableTPI
{