Re: Problem including <asm/timex.h> (linux-kernel-headers 2.6.17)
> I am trying to prepare packages for the new MaxDB release 7.5.00.38 and
> am having problems with a new piece of code in there.
>
> The code in question looks like this and is known to work on Suse SLES9:
...
> # include <asm/timex.h>
> are user-space applications not supposed to include any headers below
> /usr/include/asm or is this a problem with the header files?
Quite possibly.
The userspace program adjtimex #includes only sys/adjtimex.h, not asm/adjtimex.h
The former doesn't declare get_cycles(), so maybe that is not supposed
to be user-visible.
- Jim Van Zandt
Reply to: