include cstdint, limits for gcc 13

This commit is contained in:
toge 2023-08-05 18:10:13 +09:00
parent 297b331435
commit becda018c9
5 changed files with 7 additions and 2 deletions

View File

@ -24,6 +24,7 @@
#pragma once #pragma once
#include <string> #include <string>
#include <cstdint>
#include <xlnt/xlnt_config.hpp> #include <xlnt/xlnt_config.hpp>
@ -35,8 +36,8 @@ namespace xlnt {
struct XLNT_API phonetic_run struct XLNT_API phonetic_run
{ {
std::string text; std::string text;
uint32_t start; std::uint32_t start;
uint32_t end; std::uint32_t end;
bool preserve_space; bool preserve_space;
bool operator==(const phonetic_run &other) const; bool operator==(const phonetic_run &other) const;

View File

@ -25,6 +25,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <cstdint>
#include <xlnt/xlnt_config.hpp> #include <xlnt/xlnt_config.hpp>

View File

@ -24,6 +24,7 @@
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>
#include <limits>
#include <sstream> #include <sstream>
#include <xlnt/cell/cell.hpp> #include <xlnt/cell/cell.hpp>

View File

@ -22,6 +22,7 @@
// @author: see AUTHORS file // @author: see AUTHORS file
#include <cmath> #include <cmath>
#include <ctime> #include <ctime>
#include <cstdint>
#include <xlnt/utils/time.hpp> #include <xlnt/utils/time.hpp>

View File

@ -22,6 +22,7 @@
// @author: see AUTHORS file // @author: see AUTHORS file
#include <cmath> #include <cmath>
#include <ctime> #include <ctime>
#include <stdint>
#include <xlnt/utils/timedelta.hpp> #include <xlnt/utils/timedelta.hpp>