Re: [PATCH] LinuxPPS (with new syscalls API) - new version

Rodolfo Giometti
2007-06-29T16:35:23Z

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