summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
diff options
context:
space:
mode:
authorJorge Luis Zapata Muga <jorgeluis.zapata@gmail.com>2006-08-17 19:38:30 +0000
committerJorge Luis Zapata Muga <jorgeluis.zapata@gmail.com>2006-08-17 19:38:30 +0000
commited7d138bbc386a9bfce891d3aecb5cd4d1e76257 (patch)
treee332cc1dd08de5db8746a43d099bc49a64beb26c /legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
parentf4d36eedddf86b8e098c8bffde6963295865a883 (diff)
+ Add a check for linux/input.h, this isnt acutally the best way,
because we have to check the code inside, not only the file, maybe a test app will be usefull but i dont know much of autotools. + make ecore_evas_fb dependant to ecore_fb + on ecore_fb_private.h add a hack in case the linux headers are broken (2.6.15 - 2.6.17), thanks blak. for other kernels i still need more info to acutally fix the issues. SVN revision: 24845
Diffstat (limited to 'legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h')
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h b/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
index b628c94cca..f687ea4d4c 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
@@ -11,10 +11,20 @@
11#include <sys/types.h> 11#include <sys/types.h>
12#include <sys/stat.h> 12#include <sys/stat.h>
13#include <sys/ioctl.h> 13#include <sys/ioctl.h>
14#include <linux/version.h>
14#include <linux/kd.h> 15#include <linux/kd.h>
15#include <linux/vt.h> 16#include <linux/vt.h>
16#include <linux/fb.h> 17#include <linux/fb.h>
17#include <linux/input.h> 18#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18))
19 #define kernel_ulong_t unsigned long
20 #define BITS_PER_LONG 32
21 #include <linux/input.h>
22 #undef kernel_ulong_t <-added
23 #undef BITS_PER_LONG <-added
24#else
25 #include <linux/input.h>
26#endif
27
18#include <signal.h> 28#include <signal.h>
19#include <fcntl.h> 29#include <fcntl.h>
20#include <errno.h> 30#include <errno.h>