Skip to content

Commit 5a3d887

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 9ce82ae commit 5a3d887

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)