diff --git a/src/lib/launchdetection/CatapultLaunchMethod.cpp b/src/lib/launchdetection/CatapultLaunchMethod.cpp index 273da3ee76..8a0e8a3bb3 100644 --- a/src/lib/launchdetection/CatapultLaunchMethod.cpp +++ b/src/lib/launchdetection/CatapultLaunchMethod.cpp @@ -41,6 +41,7 @@ #include "CatapultLaunchMethod.h" #include +#define __STDC_FORMAT_MACROS 1 #include namespace launchdetection diff --git a/src/platforms/posix/drivers/gpssim/gpssim.cpp b/src/platforms/posix/drivers/gpssim/gpssim.cpp index 3115ecb63e..d94fc35f8a 100644 --- a/src/platforms/posix/drivers/gpssim/gpssim.cpp +++ b/src/platforms/posix/drivers/gpssim/gpssim.cpp @@ -37,6 +37,7 @@ */ #include +#define __STDC_FORMAT_MACROS #include #include #include