1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69224

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