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

Dmitry Torokhov
2005-03-13T17:30:15Z

On Sunday 13 March 2005 11:54, Paweł Sikora wrote:
> 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.
>

Hmm, I thought it was other way around to make it easier to track all users
of a particular header file.

--
Dmitry