Messages in this thread Patch in this message | | | From | Paweł Sikora <> | Subject | [2.6.11.3] gcc4 / psmouse.h - compilation fix. | Date | Sun, 13 Mar 2005 14:20:11 +0100 |
| |
Hi,
Attched patch fixes gcc error: `drivers/input/mouse/psmouse.h:40: error: field `ps2dev' has incomplete type`
Please apply.
-- /* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x) drivers/input/mouse/psmouse.h:40: error: field `ps2dev' has incomplete type
--- linux-2.6.11.3/drivers/input/mouse/psmouse.h.orig 2005-03-13 07:44:40.000000000 +0100 +++ linux-2.6.11.3/drivers/input/mouse/psmouse.h 2005-03-13 14:08:06.000000000 +0100 @@ -1,6 +1,8 @@ #ifndef _PSMOUSE_H #define _PSMOUSE_H +#include <linux/libps2.h> + #define PSMOUSE_CMD_SETSCALE11 0x00e6 #define PSMOUSE_CMD_SETSCALE21 0x00e7 #define PSMOUSE_CMD_SETRES 0x10e8 | |