# HG changeset patch # User szabi # Date 1006731277 0 # Node ID d62aa0b7fd68ee549a02906b5e992a1ca2f318af # Parent ab7ce23a187d5654d89ee4a57d0ad90af87d9901 use instead of for kernels 2.4.9+ diff -r ab7ce23a187d -r d62aa0b7fd68 drivers/mga_vid.c --- a/drivers/mga_vid.c Sun Nov 25 20:19:32 2001 +0000 +++ b/drivers/mga_vid.c Sun Nov 25 23:34:37 2001 +0000 @@ -39,7 +39,13 @@ #include #include #include + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,10) #include +#else +#include +#endif + #include #include #include diff -r ab7ce23a187d -r d62aa0b7fd68 drivers/sis_vid.c --- a/drivers/sis_vid.c Sun Nov 25 20:19:32 2001 +0000 +++ b/drivers/sis_vid.c Sun Nov 25 23:34:37 2001 +0000 @@ -23,7 +23,13 @@ #include #include #include + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,10) #include +#else +#include +#endif + #include #include //#include