1 2 3 4 5 6 7 8 9 10 11 12
--- build_mod.orig/firegl_public.c 2005-06-21 18:30:50.000000000 +0200 +++ build_mod/firegl_public.c 2005-06-21 18:31:31.000000000 +0200 @@ -119,7 +119,9 @@ #endif #ifdef __x86_64__ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12) #include "asm/ioctl32.h" +#endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,2) #include "linux/syscalls.h" #endif