Skip to content

Commit

Permalink
Include cstdint to fix GCC 13 build
Browse files Browse the repository at this point in the history
Signed-off-by: František Zatloukal <fzatlouk@redhat.com>
  • Loading branch information
frantisekz authored and Compute-Runtime-Automation committed Feb 22, 2023
1 parent 33fe68e commit beaff2b
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 10 deletions.
3 changes: 2 additions & 1 deletion shared/offline_compiler/source/ocloc_concat.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "shared/source/utilities/arrayref.h"
#include "shared/source/utilities/const_stringref.h"

#include <cstdint>
#include <string>
#include <vector>

Expand Down Expand Up @@ -52,4 +53,4 @@ Usage: ocloc concat <fat binary> <fat binary> ... [-out <concatenated fat binary
std::vector<std::string> fileNamesToConcat;
std::string fatBinaryName = "concat.ar";
};
} // namespace NEO
} // namespace NEO
1 change: 1 addition & 0 deletions shared/source/ail/ail_configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include "igfxfmid.h"

#include <cstdint>
#include <string>

/*
Expand Down
1 change: 1 addition & 0 deletions shared/source/compiler_interface/external_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#pragma once

#include <cstdint>
#include <string>
#include <unordered_map>
#include <vector>
Expand Down
3 changes: 2 additions & 1 deletion shared/source/device_binary_format/ar/ar_encoder.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2022 Intel Corporation
* Copyright (C) 2020-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
Expand All @@ -11,6 +11,7 @@
#include "shared/source/utilities/arrayref.h"
#include "shared/source/utilities/const_stringref.h"

#include <cstdint>
#include <vector>

namespace NEO {
Expand Down
3 changes: 2 additions & 1 deletion shared/source/os_interface/linux/drm_debug.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Intel Corporation
* Copyright (C) 2022-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
Expand All @@ -8,6 +8,7 @@
#pragma once

#include <array>
#include <cstdint>
#include <string>
#include <utility>

Expand Down
1 change: 1 addition & 0 deletions shared/source/os_interface/linux/drm_neo.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "igfxfmid.h"

#include <array>
#include <cstdint>
#include <limits>
#include <memory>
#include <mutex>
Expand Down
3 changes: 2 additions & 1 deletion shared/source/os_interface/linux/pci_path.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
Expand All @@ -9,6 +9,7 @@

#include "shared/source/os_interface/linux/sys_calls.h"

#include <cstdint>
#include <string_view>
#include <unistd.h>

Expand Down
5 changes: 3 additions & 2 deletions shared/source/os_interface/linux/pmt_util.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
Expand All @@ -14,6 +14,7 @@

#include <algorithm>
#include <array>
#include <cstdint>
#include <fcntl.h>
#include <map>
#include <sstream>
Expand Down Expand Up @@ -106,4 +107,4 @@ ssize_t PmtUtil::readTelem(std::string_view telemDir, const std::size_t count, c
return bytesRead;
}

} // namespace NEO
} // namespace NEO
3 changes: 2 additions & 1 deletion shared/source/os_interface/linux/pmt_util.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/

#pragma once

#include <cstdint>
#include <map>
#include <poll.h>
#include <string>
Expand Down
3 changes: 2 additions & 1 deletion shared/source/os_interface/linux/print.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/*
* Copyright (C) 2018-2022 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/

#include "shared/source/os_interface/print.h"

#include <cstdint>
#include <cstdio>
#include <iostream>

Expand Down
3 changes: 2 additions & 1 deletion shared/source/tbx/tbx_sockets.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/*
* Copyright (C) 2018-2021 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/

#pragma once
#include <cstdint>
#include <string>

namespace NEO {
Expand Down
3 changes: 2 additions & 1 deletion shared/source/tbx/tbx_sockets_imp.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2020 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
Expand All @@ -10,6 +10,7 @@

#include "os_socket.h"

#include <cstdint>
#include <iostream>

namespace NEO {
Expand Down

0 comments on commit beaff2b

Please sign in to comment.