summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/avdevice/videodevice.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-11-13 01:52:56 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-11-13 01:52:56 +0100
commitc7ed96db836509bfc933c2be08dcbd63dff54589 (patch)
treef24394273597944f365fbd0f8b7e46618091728c /kopete/libkopete/avdevice/videodevice.h
parent60880aed60f18f95d860510e19ba926b82d588af (diff)
downloadtdenetwork-c7ed96db836509bfc933c2be08dcbd63dff54589.tar.gz
tdenetwork-c7ed96db836509bfc933c2be08dcbd63dff54589.zip
Kopete: Improve check for videodev header
This resolves bug 2725 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kopete/libkopete/avdevice/videodevice.h')
-rw-r--r--kopete/libkopete/avdevice/videodevice.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/kopete/libkopete/avdevice/videodevice.h b/kopete/libkopete/avdevice/videodevice.h
index dd9047c9..970f6655 100644
--- a/kopete/libkopete/avdevice/videodevice.h
+++ b/kopete/libkopete/avdevice/videodevice.h
@@ -35,8 +35,8 @@
#if (defined(__linux__) || defined(__FreeBSD__)) && defined(ENABLE_AV)
-#if defined HAVE_LINUX_VIDEODEV_H
-#include <linux/videodev.h>
+#if defined VIDEODEV_HEADER
+#include VIDEODEV_HEADER
#endif
#if defined(__linux__)
#include <asm/types.h>
@@ -59,10 +59,8 @@
#include <linux/fs.h>
#include <linux/kernel.h>
#endif
-#if defined(HAVE_LIBV4L1_VIDEODEV_H)
-#include <libv4l1-videodev.h>
-#elif defined(HAVE_LINUX_VIDEODEV_H)
-#include <linux/videodev.h>
+#if defined(VIDEODEV_HEADER)
+#include VIDEODEV_HEADER
#else
#undef ENABLE_AV
#endif