Re: hrtimer.h

From: Arjan van de Ven
Date: Thu Nov 30 2006 - 07:07:04 EST


On Thu, 2006-11-30 at 01:42 +0100, Ariel ChÃffffe1vez Lorenzo wrote:
> Hi,
>
> Since the kernel 2.6.18 has incorporated the high
> resolution timer itself, I'm trying to test it, but on
> my GNU/Debian I can't figure out how to include
> hrtimer.h, that is on /usr/src/linux/include/, the
> headers.
>
> I use the following command to try to compile it.
>
> gcc -D__KERNEL__ -I /usr/src/linux/include ex.c


never use __KERNEL__ for userspace programs!


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