1 --- cryptlib-3.3.1/random/unix.c.orig 2007-02-01 01:09:22.000000000 +0100
2 +++ cryptlib-3.3.1/random/unix.c 2008-01-08 19:22:02.784685129 +0100
4 #if !( defined( __QNX__ ) || defined( __CYGWIN__ ) )
6 #endif /* QNX || Cygwin */
7 -#if defined( __linux__ ) && ( defined(__i386__) || defined(__x86_64__) )
8 - #include <linux/timex.h> /* For rdtsc() */
9 +#if defined( __linux__ ) && ( defined(__i586__) || defined(__i686__) || defined(__pentium4__) || defined(__athlon__) || defined(__x86_64__) )
10 + #define rdtscl(low) __asm__ __volatile__("rdtsc" : "=a" (low) : : "edx")
11 #endif /* Linux on x86 */
13 #include <sys/socket.h>