Skip to content

Commit 29aa340

Browse files
committed
Fix compilation for GCC 13 (#961)
CXX-2686
1 parent 15756bf commit 29aa340

6 files changed

+10
-0
lines changed

src/mongocxx/events/heartbeat_failed_event.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
#pragma once
1616

17+
#include <cstdint>
18+
1719
#include <bsoncxx/stdx/string_view.hpp>
1820

1921
#include <mongocxx/config/prelude.hpp>

src/mongocxx/events/heartbeat_started_event.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
#pragma once
1616

17+
#include <cstdint>
18+
1719
#include <bsoncxx/stdx/string_view.hpp>
1820

1921
#include <mongocxx/config/prelude.hpp>

src/mongocxx/events/server_closed_event.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
#pragma once
1616

17+
#include <cstdint>
18+
1719
#include <bsoncxx/oid.hpp>
1820
#include <bsoncxx/stdx/string_view.hpp>
1921

src/mongocxx/events/server_opening_event.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
#pragma once
1616

17+
#include <cstdint>
18+
1719
#include <bsoncxx/oid.hpp>
1820

1921
#include <mongocxx/config/prelude.hpp>

src/mongocxx/exception/error_code.hpp

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

1515
#pragma once
1616

17+
#include <cstdint>
1718
#include <system_error>
1819

1920
#include <mongocxx/config/prelude.hpp>

src/mongocxx/exception/server_error_code.hpp

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

1515
#pragma once
1616

17+
#include <cstdint>
1718
#include <system_error>
1819

1920
#include <mongocxx/config/prelude.hpp>

0 commit comments

Comments
 (0)