Fix build with GCC 13 (#6632)

Building with GCC 13 failed because for example std::int32_t
was not found. Porting guide [1] suggested to add explicit includes
for <cstdint> if necessary, so did just that.

[1]: https://gcc.gnu.org/gcc-13/porting_to.html
This commit is contained in:
Lasse Liehu 2023-05-31 08:53:04 +03:00 committed by GitHub
parent 72da455185
commit af59a9cfae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <boost/numeric/conversion/cast.hpp> #include <boost/numeric/conversion/cast.hpp>
#include <cstddef> #include <cstddef>
#include <cstdint>
#include <iosfwd> //for std::ostream #include <iosfwd> //for std::ostream
#include <sstream> #include <sstream>
#include <string> #include <string>

View File

@ -3,6 +3,7 @@
#include <boost/date_time/gregorian/gregorian.hpp> #include <boost/date_time/gregorian/gregorian.hpp>
#include <cstdint>
#include <string> #include <string>
#include <vector> #include <vector>

View File

@ -6,6 +6,7 @@
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <algorithm> #include <algorithm>
#include <cstdint>
#include <limits> #include <limits>
#include <map> #include <map>
#include <unordered_map> #include <unordered_map>