summaryrefslogtreecommitdiffstats
path: root/kopete/plugins
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/plugins
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/plugins')
-rw-r--r--kopete/plugins/motionautoaway/motionawayplugin.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/kopete/plugins/motionautoaway/motionawayplugin.cpp b/kopete/plugins/motionautoaway/motionawayplugin.cpp
index 4d768710..f8494fff 100644
--- a/kopete/plugins/motionautoaway/motionawayplugin.cpp
+++ b/kopete/plugins/motionautoaway/motionawayplugin.cpp
@@ -52,11 +52,7 @@
#endif
#endif
-#ifdef HAVE_LIBV4L1_VIDEODEV_H
-#include <libv4l1-videodev.h>
-#else
-#include <linux/videodev.h>
-#endif
+#include VIDEODEV_HEADER
#define DEF_WIDTH 352
#define DEF_HEIGHT 288