89161554ac
This should unbreak some libv4l users like pwcview [2] Bump portrevision since this affects a installed header. Reported by: avg@ [1], pointyhat via pav [2] Submitted by: Jan Henrik Sylvester <me@janh.de> Approved by: maintainer (hselasky@)
18 lines
490 B
C
18 lines
490 B
C
diff -ru v4l-utils-0.8.4.orig/lib/include/libv4l1-videodev.h v4l-utils-0.8.4/lib/include/libv4l1-videodev.h
|
|
--- include/libv4l1-videodev.h 2011-06-27 09:52:38.000000000 +0200
|
|
+++ include/libv4l1-videodev.h 2011-06-27 09:55:51.000000000 +0200
|
|
@@ -2,7 +2,14 @@
|
|
#ifndef __LINUX_VIDEODEV_H
|
|
#define __LINUX_VIDEODEV_H
|
|
|
|
+#ifdef linux
|
|
#include <linux/ioctl.h>
|
|
+#endif
|
|
+
|
|
+#ifdef __FreeBSD__
|
|
+#include <sys/ioctl.h>
|
|
+#endif
|
|
+
|
|
#include <stdint.h>
|
|
|
|
#define VID_TYPE_CAPTURE 1 /* Can capture */
|