On Fri, Jun 29, 2007 at 05:23:28PM +0100, David Woodhouse wrote: > > You'll need to put it in an #else case, not in #ifndef __KERNEL__. Sorry. :) diff --git a/include/linux/pps.h b/include/linux/pps.h index 6b53864..9e3af51 100644 --- a/include/linux/pps.h +++ b/include/linux/pps.h @@ -34,6 +34,8 @@ #ifndef __KERNEL__ #include <asm/types.h> #include <sys/time.h> +#else +#include <linux/time.h> #endif #define PPS_API_VERS_2 2 /* LinuxPPS proposal, dated 2006-05 */ Ciao, Rodolfo -- GNU/Linux Solutions e-mail: [email protected] Linux Device Driver [email protected] Embedded Systems [email protected] UNIX programming phone: +39 349 2432127 - 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: David Woodhouse <[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]>
- [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) - new version
- From: David Woodhouse <[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: [RFC PATCH 0/6] Convert all tasklets to workqueues
- 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):