summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h b/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h
index 7087cd59883..9ff2920f5d5 100644
--- a/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h
+++ b/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h
@@ -10,6 +10,7 @@
#ifndef LLVM_DEBUGINFO_CODEVIEW_TYPEINDEX_H
#define LLVM_DEBUGINFO_CODEVIEW_TYPEINDEX_H
+#include "llvm/Support/Endian.h"
#include <cassert>
#include <cinttypes>
@@ -149,7 +150,7 @@ public:
static TypeIndex Float64() { return TypeIndex(SimpleTypeKind::Float64); }
private:
- ulittle32_t Index;
+ support::ulittle32_t Index;
};
inline bool operator==(const TypeIndex &A, const TypeIndex &B) {
OpenPOWER on IntegriCloud