Include what you use: mongo/util/concurrency/mutex.h.