Skip to content

Commit d6e712c

Browse files
authored
Update semver.h to fix compilation error under linux (microsoft#25658)
### Description Added the header `<cstdint>` to `semver.h`. ### Motivation and Context Correcting compilation under linux systems, to prevent the error: ``` /xxx/onnxruntime/core/common/semver.h:18:3: error: »uint32_t« does not name a type 18 | uint32_t major{}; 19 | uint32_t minor{}; 20 | uint32_t patch{}; ```
1 parent e6d3e08 commit d6e712c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

onnxruntime/core/common/semver.h

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

44
#pragma once
55

6+
#include <cstdint>
67
#include <optional>
78
#include <string_view>
89

0 commit comments

Comments
 (0)