summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-06-26 13:10:41 +0200
committerSlávek Banko <[email protected]>2015-06-26 13:27:31 +0200
commit8068c89c7fe09274ffb8ae601dccf594423e00a4 (patch)
treefb8fbcd78d37b388680bb7cf4ea1c7dc20fd1af1
parente39c1618bbd0e8d28ec3289bdffa3b10cf94ef64 (diff)
downloadtdenetwork-8068c89c7fe09274ffb8ae601dccf594423e00a4.tar.gz
tdenetwork-8068c89c7fe09274ffb8ae601dccf594423e00a4.zip
Fix linux specific includes in kopete motionautoaway plugin
Signed-off-by: Slávek Banko <[email protected]>
-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>