mirror of
https://github.com/proski/madwifi
synced 2024-11-21 22:11:32 +03:00
Move another header to the top of compat.h - fixes previous commit
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3572 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
218abe13a6
commit
63c6adeeb8
@ -46,6 +46,8 @@
|
||||
#include <linux/kernel.h>
|
||||
#endif
|
||||
|
||||
#include <linux/version.h>
|
||||
|
||||
#if !defined(__KERNEL__) || !defined (__bitwise)
|
||||
#define __le16 u_int16_t
|
||||
#define __le32 u_int32_t
|
||||
@ -140,7 +142,6 @@ static inline void *kzalloc(size_t size, gfp_t flags)
|
||||
*/
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/version.h>
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)
|
||||
#define ATH_REGISTER_SYSCTL_TABLE(t) register_sysctl_table(t, 1)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user