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

From: PaweÅ Sikora
Date: Sun Mar 13 2005 - 11:55:42 EST


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)
-
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/