From 07881195f276d01dee9ee3625ad7f7926879ec4b Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 29 Oct 2024 00:11:28 +0900 Subject: [PATCH] Add missing mutex header (#2576) Found via clang-tidy. --- src/cache.cpp | 1 + src/curl.cpp | 1 + src/curl_handlerpool.cpp | 1 + src/curl_multi.cpp | 1 + src/fdcache.cpp | 1 + src/fdcache_entity.cpp | 1 + src/fdcache_fdinfo.cpp | 1 + src/fdcache_pseudofd.cpp | 1 + src/fdcache_untreated.cpp | 1 + src/s3fs_cred.cpp | 1 + src/threadpoolman.cpp | 1 + 11 files changed, 11 insertions(+) diff --git a/src/cache.cpp b/src/cache.cpp index 744e536be8..9b9016582d 100644 --- a/src/cache.cpp +++ b/src/cache.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/src/curl.cpp b/src/curl.cpp index ace0928d30..77656a4b54 100644 --- a/src/curl.cpp +++ b/src/curl.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/src/curl_handlerpool.cpp b/src/curl_handlerpool.cpp index 71ff3252eb..d8c36e34c1 100644 --- a/src/curl_handlerpool.cpp +++ b/src/curl_handlerpool.cpp @@ -19,6 +19,7 @@ */ #include +#include #include #include "s3fs_logger.h" diff --git a/src/curl_multi.cpp b/src/curl_multi.cpp index b81ef5ab21..1f19ba1d47 100644 --- a/src/curl_multi.cpp +++ b/src/curl_multi.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/src/fdcache.cpp b/src/fdcache.cpp index 4dda9e2a09..ae0545f747 100644 --- a/src/fdcache.cpp +++ b/src/fdcache.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/src/fdcache_entity.cpp b/src/fdcache_entity.cpp index 9ef84c4056..47a7faaef0 100644 --- a/src/fdcache_entity.cpp +++ b/src/fdcache_entity.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/src/fdcache_fdinfo.cpp b/src/fdcache_fdinfo.cpp index 75ee781f38..f69acce230 100644 --- a/src/fdcache_fdinfo.cpp +++ b/src/fdcache_fdinfo.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/src/fdcache_pseudofd.cpp b/src/fdcache_pseudofd.cpp index c9d9ada861..3c3e4bc3b6 100644 --- a/src/fdcache_pseudofd.cpp +++ b/src/fdcache_pseudofd.cpp @@ -20,6 +20,7 @@ #include #include +#include #include #include "fdcache_pseudofd.h" diff --git a/src/fdcache_untreated.cpp b/src/fdcache_untreated.cpp index c62ec5d666..2b7e08378e 100644 --- a/src/fdcache_untreated.cpp +++ b/src/fdcache_untreated.cpp @@ -19,6 +19,7 @@ */ #include +#include #include "s3fs_logger.h" #include "fdcache_untreated.h" diff --git a/src/s3fs_cred.cpp b/src/s3fs_cred.cpp index d09174b345..c903322f5e 100644 --- a/src/s3fs_cred.cpp +++ b/src/s3fs_cred.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include #include diff --git a/src/threadpoolman.cpp b/src/threadpoolman.cpp index 381b3c8e7e..a64ba78376 100644 --- a/src/threadpoolman.cpp +++ b/src/threadpoolman.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include