Fix linux specific includes in kopete motionautoaway plugin

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8068c89c7f)
pull/38/head
Slávek Banko 10 years ago
parent 7f6f068c2d
commit ab50c16da8

@ -45,10 +45,12 @@
#include "kopeteaccountmanager.h" #include "kopeteaccountmanager.h"
#include "kopeteaway.h" #include "kopeteaway.h"
#if defined(__Linux__)
#include <linux/version.h> #include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,50) #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,50)
#define _LINUX_TIME_H #define _LINUX_TIME_H
#endif #endif
#endif
#ifdef HAVE_LIBV4L1_VIDEODEV_H #ifdef HAVE_LIBV4L1_VIDEODEV_H
#include <libv4l1-videodev.h> #include <libv4l1-videodev.h>

Loading…
Cancel
Save