When non kernel programs try to define _KERNEL
it always ends in tears. this is a temporary hack.. we'll remove it in a short while. I'll set teh MFC to remind me MFC after: 1 week
This commit is contained in:
parent
38af5e4b6b
commit
a141198c53
@ -27,7 +27,9 @@
|
||||
*/
|
||||
|
||||
#define _KERNEL
|
||||
#define KLD_MODULE
|
||||
#include <sys/param.h>
|
||||
#undef KLD_MODULE
|
||||
#undef _KERNEL
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user