summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKoop Mast <kwm@rainbow-runner.nl>2012-12-14 22:25:08 +0000
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-17 11:17:01 +0100
commit0bcf8ecd93bd58e6ea75f39c38013458355560e4 (patch)
tree5b3a82abdfc4ffe33c64719e3dd0982ef22f7157 /configure.ac
parent7e47e3b92d794539d062ccff7b17d7d5c1f82a0f (diff)
downloadgstreamer-plugins-good-0bcf8ecd93bd58e6ea75f39c38013458355560e4.tar.gz
v4l2: Teach where the videodev2.h header lives on freebsd.
https://bugzilla.gnome.org/show_bug.cgi?id=690233
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index db3b1a73b..a92f3ef8b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -476,6 +476,8 @@ AG_GST_CHECK_FEATURE(GST_V4L2, [Video 4 Linux 2], v4l2src, [
#ifdef __sun /* Solaris */
#include <sys/types.h>
#include <sys/videodev2.h>
+#elif __FreeBSD__
+#include <linux/videodev2.h>
#else /* Linux */
#include <linux/types.h>
#define _LINUX_TIME_H
@@ -517,6 +519,8 @@ return 0;
#ifdef __sun /* Solaris */
#include <sys/types.h>
#include <sys/videodev2.h>
+#elif __FreeBSD__
+#include <linux/videodev2.h>
#else /* Linux */
#include <linux/types.h>
#define _LINUX_TIME_H