2.4 kernels....
-Doug Lowder <douglowder@mac.com>
+2004-07-08 Chris Larson <kergoth@handhelds.org>
+
+ * plugins/input-raw.c: As EV_SYN can be checked for at runtime rather
+ than build time, #define it when compiling against kernel headers
+ that do not define it (2.4).
+
2004-01-26 Andrew Zabolotny <zap@homelink.ru>
* README: Updated documentation on module parameters.
* This file is placed under the LGPL. Please see the file
* COPYING for more details.
*
- * $Id: input-raw.c,v 1.1 2004/07/21 19:17:18 dlowder Exp $
+ * $Id: input-raw.c,v 1.2 2004/07/21 19:19:13 dlowder Exp $
*
* Read raw pressure, x, y, and timestamp from a touchscreen device.
*/
#include <sys/types.h>
#include <linux/input.h>
+#ifdef TSLIB_INPUT_EVSYN
+# ifndef EV_SYN /* 2.4 kernel headers */
+# define EV_SYN 0x00
+# endif
+#endif
#include "tslib-private.h"