<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:
parent
c513115b8c
commit
2c52bc0532
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user