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:
mentor 2008-04-24 14:09:57 +00:00
parent 218abe13a6
commit 63c6adeeb8

View File

@ -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