Index: mariadb-10.11.3/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h =================================================================== --- mariadb-10.11.3.orig/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h +++ mariadb-10.11.3/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h @@ -5,6 +5,7 @@ #pragma once +#include #include "rocksdb/rocksdb_namespace.h" struct CompactionIterationStats { Index: mariadb-10.11.3/storage/rocksdb/rocksdb/env/composite_env_wrapper.h =================================================================== --- mariadb-10.11.3.orig/storage/rocksdb/rocksdb/env/composite_env_wrapper.h +++ mariadb-10.11.3/storage/rocksdb/rocksdb/env/composite_env_wrapper.h @@ -5,6 +5,7 @@ #pragma once +#include #include "rocksdb/env.h" #include "rocksdb/file_system.h" Index: mariadb-10.11.3/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h =================================================================== --- mariadb-10.11.3.orig/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h +++ mariadb-10.11.3/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h @@ -8,6 +8,7 @@ #pragma once #ifndef ROCKSDB_LITE +#include #include #include #include "rocksdb/status.h" Index: mariadb-10.11.3/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h =================================================================== --- mariadb-10.11.3.orig/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h +++ mariadb-10.11.3/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h @@ -7,6 +7,7 @@ #include #include +#include #include "rocksdb/slice.h" Index: mariadb-10.11.3/storage/rocksdb/rocksdb/util/string_util.h =================================================================== --- mariadb-10.11.3.orig/storage/rocksdb/rocksdb/util/string_util.h +++ mariadb-10.11.3/storage/rocksdb/rocksdb/util/string_util.h @@ -10,6 +10,7 @@ #include #include #include +#include #include "rocksdb/rocksdb_namespace.h" Index: mariadb-10.11.3/tpool/aio_linux.cc =================================================================== --- mariadb-10.11.3.orig/tpool/aio_linux.cc +++ mariadb-10.11.3/tpool/aio_linux.cc @@ -21,6 +21,7 @@ Foundation, Inc., 51 Franklin Street, Fi # include # include # include +# include /** Invoke the io_getevents() system call, without timeout parameter.