sys/systm.h is incompatable with sys/types.h in userland.
(#define major() in sys/types.h for example.) Reported by: Nickolay Dudorov <nnd@mail.nsk.ru>
This commit is contained in:
parent
06a3891a49
commit
a3197deec9
@ -39,7 +39,9 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/types.h>
|
||||
#ifdef _KERNEL
|
||||
#include <sys/systm.h>
|
||||
#endif
|
||||
|
||||
/* BCD conversions. */
|
||||
extern u_char const bcd2bin_data[];
|
||||
|
Loading…
x
Reference in New Issue
Block a user