Skip to content

Commit f9211bc

Browse files
authored
Merge pull request #27 from flatcar/dongsu/gcc-13-stdint
explicitly include cstdint for gcc 13
2 parents e3d47bf + ffc5a13 commit f9211bc

14 files changed

+14
-0
lines changed

src/strings/string_number_conversions.h

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

88
#include <stdint.h>
99

10+
#include <cstdint>
1011
#include <string>
1112

1213
// ----------------------------------------------------------------------------

src/update_engine/delta_metadata.h

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

88
#include <inttypes.h>
99

10+
#include <cstdint>
1011
#include <vector>
1112

1213
#include <update_engine/action_processor.h>

src/update_engine/delta_performer.h

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

88
#include <inttypes.h>
99

10+
#include <cstdint>
1011
#include <string>
1112
#include <vector>
1213

src/update_engine/extent_mapper.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_EXTENT_MAPPER_H__
66
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_EXTENT_MAPPER_H__
77

8+
#include <cstdint>
89
#include <string>
910
#include <vector>
1011

src/update_engine/graph_types.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_GRAPH_TYPES_H__
66
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_GRAPH_TYPES_H__
77

8+
#include <cstdint>
89
#include <limits>
910
#include <map>
1011
#include <set>

src/update_engine/install_plan.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_INSTALL_PLAN_H__
66
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_INSTALL_PLAN_H__
77

8+
#include <cstdint>
89
#include <string>
910
#include <vector>
1011

src/update_engine/omaha_response.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <sys/stat.h>
1010
#include <sys/types.h>
1111

12+
#include <cstdint>
1213
#include <string>
1314
#include <vector>
1415

src/update_engine/payload_signer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_PAYLOAD_SIGNER_H__
66
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_PAYLOAD_SIGNER_H__
77

8+
#include <cstdint>
89
#include <string>
910
#include <vector>
1011

src/update_engine/payload_state.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#ifndef CHROMEOS_PLATFORM_UPDATE_ENGINE_PAYLOAD_STATE_H__
66
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_PAYLOAD_STATE_H__
77

8+
#include <cstdint>
89
#include <chrono>
910

1011
#include "update_engine/payload_state_interface.h"

src/update_engine/payload_state_interface.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#define CHROMEOS_PLATFORM_UPDATE_ENGINE_PAYLOAD_STATE_INTERFACE_H__
77

88
#include <chrono>
9+
#include <cstdint>
910
#include <string>
1011

1112
#include "update_engine/action_processor.h"

0 commit comments

Comments
 (0)