mirror of
https://github.com/proski/madwifi
synced 2024-11-21 22:11:32 +03:00
Fix support for Linux 2.6.11, which lacks <linux/sort.h>
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4132 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
a09a469936
commit
7da3379866
@ -48,7 +48,7 @@
|
|||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12)
|
||||||
/* Copied from Linux lib/sort.c */
|
/* Copied from Linux lib/sort.c */
|
||||||
static void u32_swap(void *a, void *b, int size)
|
static void u32_swap(void *a, void *b, int size)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user