From ab50c16da8b9009b135f010dcebef9a4072d5cd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 26 Jun 2015 13:10:41 +0200 Subject: Fix linux specific includes in kopete motionautoaway plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 8068c89c7fe09274ffb8ae601dccf594423e00a4) --- kopete/plugins/motionautoaway/motionawayplugin.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,50) #define _LINUX_TIME_H #endif +#endif #ifdef HAVE_LIBV4L1_VIDEODEV_H #include -- cgit v1.2.1