Add missing string header (#2574)

Found via clang-tidy.
This commit is contained in:
Andrew Gaul 2024-10-25 16:13:57 +09:00 committed by GitHub
parent fe82477a6b
commit 7cb46db945
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
20 changed files with 22 additions and 2 deletions

View File

@ -23,6 +23,7 @@
#include <cstring>
#include <sstream>
#include <fstream>
#include <string>
#include <strings.h>
#include <utility>
#include <vector>

View File

@ -23,6 +23,7 @@
#include <memory>
#include <regex.h>
#include <string>
#include <utility>
#include <vector>

View File

@ -21,6 +21,7 @@
#include <algorithm>
#include <cerrno>
#include <cstdlib>
#include <string>
#include <sys/stat.h>
#include <utility>
#include <vector>

View File

@ -25,8 +25,9 @@
#include <ctime>
#include <fstream>
#include <memory>
#include <unistd.h>
#include <sstream>
#include <string>
#include <unistd.h>
#include <utility>
#include "common.h"

View File

@ -21,6 +21,7 @@
#include <cstdio>
#include <cstdlib>
#include <curl/curl.h>
#include <string>
#include "common.h"
#include "s3fs_logger.h"

View File

@ -24,6 +24,7 @@
#include <climits>
#include <unistd.h>
#include <dirent.h>
#include <string>
#include <sys/stat.h>
#include <sys/statvfs.h>
#include <utility>

View File

@ -22,6 +22,7 @@
#define S3FS_FDCACHE_H_
#include <mutex>
#include <string>
#include "common.h"
#include "fdcache_entity.h"

View File

@ -24,6 +24,7 @@
#include <climits>
#include <cstring>
#include <memory>
#include <string>
#include <sys/stat.h>
#include <unistd.h>
#include <utility>

View File

@ -25,6 +25,7 @@
#include <fcntl.h>
#include <memory>
#include <mutex>
#include <string>
#include "common.h"
#include "fdcache_page.h"

View File

@ -23,6 +23,7 @@
#include <cstdio>
#include <cstdlib>
#include <memory>
#include <string>
#include <sys/stat.h>
#include <unistd.h>

View File

@ -23,6 +23,7 @@
#include <memory>
#include <mutex>
#include <string>
#include "common.h"
#include "fdcache_entity.h"

View File

@ -23,6 +23,7 @@
#include <memory>
#include <unistd.h>
#include <sstream>
#include <string>
#include <sys/stat.h>
#include "common.h"

View File

@ -20,6 +20,7 @@
#include <cerrno>
#include <unistd.h>
#include <string>
#include <sys/file.h>
#include <sys/stat.h>

View File

@ -19,8 +19,9 @@
*/
#include <ctime>
#include <unistd.h>
#include <string>
#include <sys/stat.h>
#include <unistd.h>
#include "common.h"
#include "metaheader.h"

View File

@ -20,6 +20,7 @@
#include <cstdio>
#include <cstdlib>
#include <string>
#include "s3fs_logger.h"
#include "mpu_util.h"

View File

@ -27,6 +27,7 @@
#include <memory>
#include <mutex>
#include <set>
#include <string>
#include <unistd.h>
#include <utility>
#include <dirent.h>

View File

@ -25,6 +25,7 @@
#include <dlfcn.h>
#include <fstream>
#include <sstream>
#include <string>
#include "common.h"
#include "s3fs_cred.h"

View File

@ -20,6 +20,7 @@
#include <cstdio>
#include <cstring>
#include <string>
#include "s3objlist.h"

View File

@ -24,6 +24,7 @@
#include <climits>
#include <iomanip>
#include <sstream>
#include <string>
#include <utility>
#include "s3fs_logger.h"

View File

@ -24,6 +24,7 @@
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <string>
#include "string_util.h"