Unbreak world; #include <sys/mutex.h> instead of <machine/mutex.h>
Only include <sys/mbuf.h> when building kernel sources. This should probably be changed to require callers to include it themselves.
This commit is contained in:
parent
f6fd83ed27
commit
9ba20c3119
@ -75,8 +75,10 @@ struct ether_header;
|
||||
|
||||
#include <sys/queue.h> /* get TAILQ macros */
|
||||
|
||||
#ifdef _KERNEL
|
||||
#include <sys/mbuf.h>
|
||||
#include <machine/mutex.h>
|
||||
#endif /* _KERNEL */
|
||||
#include <sys/mutex.h>
|
||||
|
||||
TAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */
|
||||
TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */
|
||||
|
Loading…
Reference in New Issue
Block a user