Skip to content

Commit e2561c2

Browse files
committed
add missing headers to pass compilation on more gcc versions
1 parent 6738767 commit e2561c2

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

include/core/data_type.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#pragma once
22
#include "core/common.h"
3+
#include <cstdint>
34

45
namespace infini {
56

include/core/graph.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#include "core/allocator.h"
33
#include "core/operator.h"
44
#include "core/tensor.h"
5+
#include <cstdint>
6+
#include <algorithm>
57

68
namespace infini
79
{
@@ -116,4 +118,4 @@ namespace infini
116118
bool sorted;
117119
};
118120

119-
} // namespace infini
121+
} // namespace infini

include/core/op_type.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include <string>
66
#include <unordered_set>
7+
#include <cstdint>
78

89
namespace infini
910
{

0 commit comments

Comments
 (0)