summaryrefslogtreecommitdiffstats
path: root/kopete/plugins
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-06-26 13:10:41 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-06-26 13:31:26 +0200
commitab50c16da8b9009b135f010dcebef9a4072d5cd5 (patch)
treec416b9e44b1c1a055ef986770930e27c3864a728 /kopete/plugins
parent7f6f068c2d2fe7bf85e484379a331368c5e1e76e (diff)
downloadtdenetwork-ab50c16da8b9009b135f010dcebef9a4072d5cd5.tar.gz
tdenetwork-ab50c16da8b9009b135f010dcebef9a4072d5cd5.zip
Fix linux specific includes in kopete motionautoaway plugin
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8068c89c7fe09274ffb8ae601dccf594423e00a4)
Diffstat (limited to 'kopete/plugins')
-rw-r--r--kopete/plugins/motionautoaway/motionawayplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kopete/plugins/motionautoaway/motionawayplugin.cpp b/kopete/plugins/motionautoaway/motionawayplugin.cpp
index d27901f6..4d768710 100644
--- a/kopete/plugins/motionautoaway/motionawayplugin.cpp
+++ b/kopete/plugins/motionautoaway/motionawayplugin.cpp
@@ -45,10 +45,12 @@
#include "kopeteaccountmanager.h"
#include "kopeteaway.h"
+#if defined(__Linux__)
#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,50)
#define _LINUX_TIME_H
#endif
+#endif
#ifdef HAVE_LIBV4L1_VIDEODEV_H
#include <libv4l1-videodev.h>