Skip to content

Commit 7abf440

Browse files
authored
Add missing include to X86MCTargetDesc.h (llvm#123320)
In gcc-15, explicit includes of `<cstdint>` are required when fixed-size integers are used. In this file, this include only happened as a side effect of including SmallVector.h Although llvm compiles fine, the root-project would benefit from explicitly including it here, so we can backport the patch. Maybe interesting for @hahnjo and @vgvassilev
1 parent b95ed30 commit 7abf440

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
1515

1616
#include "llvm/ADT/SmallVector.h"
17+
#include <cstdint>
1718
#include <memory>
1819
#include <string>
1920

0 commit comments

Comments
 (0)