1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2025-12-22 14:08:01 +01:00
Files
gryf-overlay/x11-drivers/ati-drivers/files/8.37.6/fix-ioctl-for-2.6.22.patch
2010-03-27 13:22:52 +01:00

18 lines
487 B
Diff

--- common-orig/lib/modules/fglrx/build_mod/firegl_public.c 2007-08-01 16:58:40.000000000 -0500
+++ common/lib/modules/fglrx/build_mod/firegl_public.c 2007-08-01 16:57:11.000000000 -0500
@@ -144,12 +144,14 @@
#define EXPORT_NO_SYMBOLS
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
#ifdef __x86_64__
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)
#include "linux/ioctl32.h"
#else
#include "asm/ioctl32.h"
#endif
+#endif
#ifdef __x86_64__
#include "asm/compat.h"