Enlightenment CVS committal
Author : turran
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_fb
Modified Files:
ecore_fb_private.h
Log Message:
+ 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.
===================================================================
RCS file: /cvs/e/e17/libs/ecore/src/lib/ecore_fb/ecore_fb_private.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ecore_fb_private.h 3 Aug 2006 05:58:14 -0000 1.4
+++ ecore_fb_private.h 17 Aug 2006 19:38:30 -0000 1.5
@@ -11,10 +11,20 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
+#include <linux/version.h>
#include <linux/kd.h>
#include <linux/vt.h>
#include <linux/fb.h>
-#include <linux/input.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)) && (LINUX_VERSION_CODE <
KERNEL_VERSION(2,6,18))
+ #define kernel_ulong_t unsigned long
+ #define BITS_PER_LONG 32
+ #include <linux/input.h>
+ #undef kernel_ulong_t <-added
+ #undef BITS_PER_LONG <-added
+#else
+ #include <linux/input.h>
+#endif
+
#include <signal.h>
#include <fcntl.h>
#include <errno.h>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs