build: add missing headers for GCC 15

For using fixed width integer types[1], the `<cstdint>`[2]
C++ header needs to be explicitly included with GCC 15 due
to changes[3] in libstdc++.

For details, see the documentation[4] about porting to GCC 15.

[1] https://en.cppreference.com/w/cpp/types/integer
[2] https://en.cppreference.com/w/cpp/header/cstdint
[3] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84
[4] https://gcc.gnu.org/gcc-15/porting_to.html#cxx

Signed-off-by: Daniel Bermond <dbermond@archlinux.org>
This commit is contained in:
Daniel Bermond
2025-05-10 13:04:47 -03:00
committed by Compute-Runtime-Automation
parent b8805fa1ae
commit e0362a7c39
10 changed files with 16 additions and 6 deletions

View File

@@ -1,10 +1,11 @@
/*
* Copyright (C) 2020-2024 Intel Corporation
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include <cstdint>
#include <fstream>
#include <iomanip>
#include <iostream>