This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: libv4l: On FreeBSD use sys/ioctl.h instead of linux/ioctl.h
Author:  Hans Petter Selasky <[email protected]>
Date:    Mon Jul 18 16:18:42 2011 +0200

Signed-off-by: Hans de Goede <[email protected]>

 lib/include/libv4l1-videodev.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=cf77474e5d1920c27b04bd1600705dd977f70ced

diff --git a/lib/include/libv4l1-videodev.h b/lib/include/libv4l1-videodev.h
index e7c4ff3..1b8a781 100644
--- a/lib/include/libv4l1-videodev.h
+++ b/lib/include/libv4l1-videodev.h
@@ -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 */

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to