mirror of
https://github.com/proski/madwifi
synced 2024-11-21 22:11:32 +03:00
Move a kernel include into __KERNEL__ protected section
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3570 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
d8c264b8f5
commit
0c14432118
@ -43,6 +43,7 @@
|
||||
#include <linux/types.h>
|
||||
#include <linux/time.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/kernel.h>
|
||||
#endif
|
||||
|
||||
#if !defined(__KERNEL__) || !defined (__bitwise)
|
||||
@ -80,7 +81,6 @@
|
||||
#define NBBY 8 /* number of bits/byte */
|
||||
|
||||
/* roundup() appears in Linux 2.6.18 */
|
||||
#include <linux/kernel.h>
|
||||
#ifndef roundup
|
||||
#define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user