summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-15 17:28:18 -0600
committerSlávek Banko <[email protected]>2012-08-05 19:16:14 +0200
commit49deb564a46581cf305a60b7da2f4949efa9a757 (patch)
tree90c671aba5315783456a7d79a654dec9cdcdd416
parent88436fc88a474f7cc2bd9f3fa2869df71bd383b4 (diff)
downloadtdenetwork-49deb564a46581cf305a60b7da2f4949efa9a757.tar.gz
tdenetwork-49deb564a46581cf305a60b7da2f4949efa9a757.zip
Fix motionaway plugin FTBFS
(cherry picked from commit f9d73bf736181f8d17e9d7a6f5dcb67f13cc86a1)
-rw-r--r--kopete/plugins/motionautoaway/motionawayplugin.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/kopete/plugins/motionautoaway/motionawayplugin.cpp b/kopete/plugins/motionautoaway/motionawayplugin.cpp
index 8dbd8853..ea37878d 100644
--- a/kopete/plugins/motionautoaway/motionawayplugin.cpp
+++ b/kopete/plugins/motionautoaway/motionawayplugin.cpp
@@ -75,7 +75,12 @@ typedef __signed__ long long __s64;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,50)
#define _LINUX_TIME_H
#endif
+
+#ifdef HAVE_LIBV4L1_VIDEODEV_H
+#include <libv4l1-videodev.h>
+#else
#include <linux/videodev.h>
+#endif
#define DEF_WIDTH 352
#define DEF_HEIGHT 288