<sys/lock.h> is a prerequisite for <sys/mutex.h>, so include the former

here before the latter instead of depending on namespace pollution in
<sys/mumble.h> or on accidentally placed includes in netsmb/*.c.
This commit is contained in:
Bruce Evans 2002-08-27 12:22:06 +00:00
parent 7e9e7dc4ed
commit ecc56e1395
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102481

View File

@ -76,6 +76,7 @@ void m_dumpm(struct mbuf *m);
* Compatibility wrappers for simple locks
*/
#include <sys/lock.h>
#include <sys/mutex.h>
#define smb_slock mtx