summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/motionautoaway
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-01-15 17:28:18 -0600
committerTimothy Pearson <[email protected]>2012-01-15 17:28:18 -0600
commitf9d73bf736181f8d17e9d7a6f5dcb67f13cc86a1 (patch)
tree436c792f867d325eb8a26fac83361d77084c7d4f /kopete/plugins/motionautoaway
parent00fe193f5a98776c136dee2f74fe392d1f595a51 (diff)
downloadtdenetwork-f9d73bf736181f8d17e9d7a6f5dcb67f13cc86a1.tar.gz
tdenetwork-f9d73bf736181f8d17e9d7a6f5dcb67f13cc86a1.zip
Fix motionaway plugin FTBFS
Diffstat (limited to 'kopete/plugins/motionautoaway')
-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 c4daf886..237e0e0e 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