Skip to content

Commit 67779d7

Browse files
btridevkyle-elliott-tob
authored andcommitted
Fix missing includes in Arch & OS headers.
1 parent 4689097 commit 67779d7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

include/remill/Arch/Name.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,15 @@
9090
# endif
9191
#endif
9292

93+
#include <cstdint>
9394
#include <string_view>
9495

9596
namespace llvm {
9697
class Triple;
9798
} // namespace llvm
9899
namespace remill {
99100

100-
enum ArchName : uint32_t {
101+
enum ArchName : std::uint32_t {
101102
kArchInvalid,
102103

103104
kArchX86,

include/remill/OS/OS.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#pragma once
1818

19+
#include <cstdint>
1920
#include <string>
2021

2122
#ifndef REMILL_OS
@@ -58,7 +59,7 @@ class Triple;
5859
} // namespace llvm
5960
namespace remill {
6061

61-
enum OSName : uint32_t {
62+
enum OSName : std::uint32_t {
6263
kOSInvalid,
6364
kOSmacOS,
6465
kOSLinux,

0 commit comments

Comments
 (0)