Add missing <cstdint> includes

Some parts of the code used the fixed-size type uint32_t,
which is defined in stdint.h / cstdint - without including said
header file. With GCC13, the inter-header dependencies seem
to have changed and the file is no longer included transitively,
requiring an explicit include.
fix-squashed-planets
suve 2023-01-19 10:34:55 +01:00
parent 0df78e7fa6
commit d47e265863
5 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#pragma once
#include <cstdint>
#include <iostream>
#include <string>

View File

@ -21,6 +21,8 @@
#include "CBot/CBotInstr/CBotInstr.h"
#include <cstdint>
namespace CBot
{

View File

@ -30,6 +30,7 @@
#include "CBot/CBotExternalCall.h"
#include <cassert>
#include <cstdint>
#include <cstdlib>
#include <cstring>

View File

@ -24,6 +24,7 @@
#include "CBot/CBotEnums.h"
#include "CBot/CBotUtils.h"
#include <cstdint>
#include <string>
namespace CBot

View File

@ -24,6 +24,7 @@
#include "math/vector.h"
#include <array>
#include <cstdint>
#include <memory>
#include <vector>