diff --git a/.github/workflows/ros_workspace.yml b/.github/workflows/ros_workspace.yml index 7315b26b..e7ba7c22 100644 --- a/.github/workflows/ros_workspace.yml +++ b/.github/workflows/ros_workspace.yml @@ -104,7 +104,7 @@ jobs: colcon-defaults: | { "build": { - "cmake-args": [ "-DBUILD_SHARED_LIBS=OFF" ] + "cmake-args": [ "-DBUILD_SHARED_LIBS=OFF", "-DCMAKE_CXX_FLAGS='/DWIN32_MEAN_AND_LEAN'" ] } } @@ -117,7 +117,7 @@ jobs: colcon-defaults: | { "build": { - "cmake-args": [ "-DBUILD_SHARED_LIBS=OFF" ] + "cmake-args": [ "-DBUILD_SHARED_LIBS=OFF", "-DCMAKE_CXX_FLAGS='/DWIN32_MEAN_AND_LEAN'" ] } } diff --git a/common/time_util.h b/common/time_util.h index 207e9583..dfc5b3f6 100644 --- a/common/time_util.h +++ b/common/time_util.h @@ -32,7 +32,7 @@ either expressed or implied, of the Regents of The University of Michigan. #include #ifdef _WIN32 -#include +#include typedef long long suseconds_t; #endif