On Fri, 2007-06-29 at 18:23 +0200, Rodolfo Giometti wrote: > On Fri, Jun 29, 2007 at 04:41:33PM +0100, David Woodhouse wrote: > > > > <asm-i386/signal.h> includes <linux/time.h>, for some reason. > > <asm-powerpc/signal.h> doesn't. > > > > You shouldn't rely on <linux/time.h> being pulled in like that -- you > > either need a forward declaration of struct timespec, or to include > > <linux/time.h> for yourself from <linux/pps.h> > > Can you please check if this patch resolve your problem? > > diff --git a/include/linux/pps.h b/include/linux/pps.h > index 6b53864..fe8c645 100644 > --- a/include/linux/pps.h > +++ b/include/linux/pps.h > @@ -33,6 +33,7 @@ > > #ifndef __KERNEL__ > #include <asm/types.h> > +#include <linux/time.h> > #include <sys/time.h> > #endif You'll need to put it in an #else case, not in #ifndef __KERNEL__. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- References:
- Re: [PATCH] LinuxPPS (with new syscalls API)
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API)
- From: David Woodhouse <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API)
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API)
- From: David Woodhouse <[email protected]>
- [PATCH] LinuxPPS (with new syscalls API) - new version
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: David Woodhouse <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: David Woodhouse <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: David Woodhouse <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- From: Rodolfo Giometti <[email protected]>
- Re: [PATCH] LinuxPPS (with new syscalls API)
- Prev by Date: Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- Next by Date: Re: 2.6.22-rc6-mm1 Intel DMAR crash on AMD x86_64
- Previous by thread: Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- Next by thread: Re: [PATCH] LinuxPPS (with new syscalls API) - new version
- Index(es):