Skip to content

Commit f8a2a73

Browse files
hageboeckgiordano
authored andcommitted
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 (cherry picked from commit 7abf440)
1 parent 9a68d65 commit f8a2a73

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
@@ -13,6 +13,7 @@
1313
#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
1414
#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
1515

16+
#include <cstdint>
1617
#include <memory>
1718
#include <string>
1819

0 commit comments

Comments
 (0)