Re: Redefinition error while compiling LKM

From: Al Viro
Date: Thu Dec 29 2005 - 05:59:52 EST


On Thu, Dec 29, 2005 at 04:21:49PM +0530, pretorious . wrote:
> hi!
> I am facing problem in compiling an LKM. It seems Inclusion of
> <sys/stat.h> conflicts with definitions in time.h.

That's because you do not use libc headers for non-userland code...
-
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/