Re: [2.6.11.3] gcc4 / psmouse.h - compilation fix.

Paweł Sikora
2005-03-13T16:54:38Z

On Sunday 13 of March 2005 17:48, Dmitry Torokhov wrote:
> On Sunday 13 March 2005 08:20, Paweł Sikora wrote:
> > Hi,
> >
> > Attched patch fixes gcc error:
> > `drivers/input/mouse/psmouse.h:40: error: field `ps2dev' has incomplete
> > type`
>
> What file fails compilation?

custom patch for trackpoint device.

> As far as I can see all users of psmouse.h do
> #include <linux/libps2.h> first.

IMHO each header (e.g. psmouse.h) should include headers for types it uses.

--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */

#define say(x) lie(x)