summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/motionautoaway/motionawayplugin.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-11-13 01:52:56 +0100
committerSlávek Banko <[email protected]>2016-11-13 01:53:46 +0100
commit56484e2a730772015af966860f220867a2f0b580 (patch)
treedd2a34abb2445888d66480895d729396081bdcfa /kopete/plugins/motionautoaway/motionawayplugin.cpp
parent1f93335507d8bf855393527ff2a2802b47418075 (diff)
downloadtdenetwork-56484e2a730772015af966860f220867a2f0b580.tar.gz
tdenetwork-56484e2a730772015af966860f220867a2f0b580.zip
Kopete: Improve check for videodev header
This resolves bug 2725 Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit c7ed96db836509bfc933c2be08dcbd63dff54589)
Diffstat (limited to 'kopete/plugins/motionautoaway/motionawayplugin.cpp')
-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