freebsd-ports/multimedia/gstreamer-plugins-good/files/patch-sys_v4l2_gstv4l2object.h
Koop Mast 8b5d6d26e2 Update to 0.10.21.
Fix detection of libpng.
New plugin v4l2.
2010-03-31 10:40:29 +00:00

21 lines
504 B
C

--- sys/v4l2/gstv4l2object.h.orig 2010-02-11 17:52:41.000000000 +0100
+++ sys/v4l2/gstv4l2object.h 2010-02-11 17:57:50.000000000 +0100
@@ -38,13 +38,15 @@
*/
#include <sys/ioctl.h>
#include <sys/types.h>
-#ifndef __sun
+#ifdef __sun
+#include <sys/videodev2.h>
+#elif defined(__FreeBSD__)
+#include <linux/videodev2.h>
+#else /* linux */
#include <linux/types.h>
#define _LINUX_TIME_H
#define __user
#include <linux/videodev2.h>
-#else
-#include <sys/videodev2.h>
#endif
#include <gst/gst.h>