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

From: Dmitry Torokhov
Date: Sun Mar 13 2005 - 12:32:07 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/