mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
19 lines
401 B
Plaintext
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
|
|
{
|