Re: [PATCH] smb.h: uses struct timespec but didn't include linux/time.h

From: Ilpo Järvinen
Date: Tue Apr 15 2008 - 07:38:14 EST


On Tue, 15 Apr 2008, Adrian Bunk wrote:

> On Tue, Apr 15, 2008 at 02:10:57AM -0700, Andrew Morton wrote:
> > On Tue, 15 Apr 2008 12:04:04 +0300 (EEST) "Ilpo J__rvinen" <ilpo.jarvinen@xxxxxxxxxxx> wrote:
> > >
> > > +#include <linux/time.h>
> >
> > Did this actually cause a compilation error?
>
> Even if it doesn't at the moment it should be fixed - these kind
> of issues are why often adding or removing an #include in a header
> suddenly breaks some configuration on some other architecture.

...I suppose point of Andrew's enquiry was more about determining how
soon it should be scheduled for inclusion rather than its usefulness.

--
i.
--
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/