-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upstream issue created: eProsima/Fast-DDS#3514
- Loading branch information
Showing
3 changed files
with
45 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
diff --git a/include/fastdds/rtps/transport/TransportDescriptorInterface.h b/include/fastdds/rtps/transport/TransportDescriptorInterface.h | ||
index 149707736..30184d71a 100644 | ||
--- a/include/fastdds/rtps/transport/TransportDescriptorInterface.h | ||
+++ b/include/fastdds/rtps/transport/TransportDescriptorInterface.h | ||
@@ -17,7 +17,7 @@ | ||
|
||
#include <fastrtps/fastrtps_dll.h> | ||
|
||
-#ifdef _WIN32 | ||
+#if defined(_WIN32) || ((__GNUC__ >= 13) && (__GNUC_MINOR__ >= 1)) | ||
#include <cstdint> | ||
#endif // ifdef _WIN32 | ||
#include <vector> | ||
diff --git a/include/fastrtps/types/TypeNamesGenerator.h b/include/fastrtps/types/TypeNamesGenerator.h | ||
index a8f45e013..152933316 100644 | ||
--- a/include/fastrtps/types/TypeNamesGenerator.h | ||
+++ b/include/fastrtps/types/TypeNamesGenerator.h | ||
@@ -3,6 +3,9 @@ | ||
|
||
#include <fastrtps/fastrtps_dll.h> | ||
|
||
+#if defined(_WIN32) || ((__GNUC__ >= 13) && (__GNUC_MINOR__ >= 1)) | ||
+#include <cstdint> | ||
+#endif // ifdef _WIN32 | ||
#include <string> | ||
#include <vector> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters