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:
Jonathan Lemon 2000-11-26 21:47:01 +00:00
parent f6fd83ed27
commit 9ba20c3119

View File

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