Skip to content

Commit

Permalink
Add missing mutex header (s3fs-fuse#2576)
Browse files Browse the repository at this point in the history
Found via clang-tidy.
  • Loading branch information
gaul authored Oct 28, 2024
1 parent 08a5d35 commit 0788119
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <algorithm>
#include <cerrno>
#include <cstdlib>
#include <mutex>
#include <string>
#include <sys/stat.h>
#include <utility>
Expand Down
1 change: 1 addition & 0 deletions src/curl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <ctime>
#include <fstream>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
#include <unistd.h>
Expand Down
1 change: 1 addition & 0 deletions src/curl_handlerpool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/

#include <cstdio>
#include <mutex>
#include <utility>

#include "s3fs_logger.h"
Expand Down
1 change: 1 addition & 0 deletions src/curl_multi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <cstdlib>
#include <cerrno>
#include <future>
#include <mutex>
#include <thread>
#include <utility>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions src/fdcache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <climits>
#include <unistd.h>
#include <dirent.h>
#include <mutex>
#include <string>
#include <sys/stat.h>
#include <sys/statvfs.h>
Expand Down
1 change: 1 addition & 0 deletions src/fdcache_entity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <climits>
#include <cstring>
#include <memory>
#include <mutex>
#include <string>
#include <sys/stat.h>
#include <unistd.h>
Expand Down
1 change: 1 addition & 0 deletions src/fdcache_fdinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <cstdio>
#include <cstdlib>
#include <memory>
#include <mutex>
#include <string>
#include <sys/stat.h>
#include <unistd.h>
Expand Down
1 change: 1 addition & 0 deletions src/fdcache_pseudofd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include <algorithm>
#include <cstdlib>
#include <mutex>
#include <vector>

#include "fdcache_pseudofd.h"
Expand Down
1 change: 1 addition & 0 deletions src/fdcache_untreated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/

#include <cstdlib>
#include <mutex>

#include "s3fs_logger.h"
#include "fdcache_untreated.h"
Expand Down
1 change: 1 addition & 0 deletions src/s3fs_cred.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <sys/stat.h>
#include <dlfcn.h>
#include <fstream>
#include <mutex>
#include <sstream>
#include <string>

Expand Down
1 change: 1 addition & 0 deletions src/threadpoolman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <cstdio>
#include <cstdlib>
#include <future>
#include <mutex>
#include <thread>
#include <utility>

Expand Down

0 comments on commit 0788119

Please sign in to comment.