summaryrefslogtreecommitdiffstats
path: root/kopete
diff options
context:
space:
mode:
Diffstat (limited to 'kopete')
-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>