24 lines
509 B
Plaintext
24 lines
509 B
Plaintext
$NetBSD: patch-ba,v 1.2 2009/11/20 11:51:32 drochner Exp $
|
|
|
|
--- sys/v4l2/gstv4l2object.h.orig 2009-11-09 20:37:11.000000000 +0100
|
|
+++ sys/v4l2/gstv4l2object.h
|
|
@@ -38,13 +38,17 @@
|
|
*/
|
|
#include <sys/ioctl.h>
|
|
#include <sys/types.h>
|
|
-#ifndef __sun
|
|
+#if !defined(__sun) && !defined(__NetBSD__)
|
|
#include <linux/types.h>
|
|
#define _LINUX_TIME_H
|
|
#define __user
|
|
#include <linux/videodev2.h>
|
|
#else
|
|
+#ifdef __sun
|
|
#include <sys/videodev2.h>
|
|
+#else
|
|
+#include <sys/videoio.h>
|
|
+#endif
|
|
#endif
|
|
|
|
#include <gst/gst.h>
|