Package: linux-kernel-headers Version: 2.6.17.7-1 I presume <sys/timex.h> is supposed to be #includeable from user space.
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/include -g -fno-strict-aliasing -O2 -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -c tickadj.c In file included from /usr/include/linux/cpumask.h:86, from /usr/include/asm-i486/processor.h:23, from /usr/include/asm/processor.h:8, from /usr/include/asm-i486/timex.h:10, from /usr/include/asm/timex.h:8, from /usr/include/sys/timex.h:60, from tickadj.c:26: /usr/include/linux/bitmap.h: In function 'bitmap_zero': /usr/include/linux/bitmap.h:128: error: 'BITS_PER_LONG' undeclared (first use in this function) I haven't explored the dependency chain, but wrapping the asm includes in <sys/timex.h> appears to work: #ifdef __KERNEL__ #include <asm/param.h> #include <asm/timex.h> #endif -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]