diff --git a/src/modules/mavlink/CMakeLists.txt b/src/modules/mavlink/CMakeLists.txt index e8e4c4bd398e..196559d01f65 100644 --- a/src/modules/mavlink/CMakeLists.txt +++ b/src/modules/mavlink/CMakeLists.txt @@ -118,6 +118,7 @@ endif() px4_add_unit_gtest(SRC MavlinkStatustextHandlerTest.cpp INCLUDES + ${MAVLINK_LIBRARY_DIR} ${MAVLINK_LIBRARY_DIR}/${MAVLINK_DIALECT} COMPILE_FLAGS -Wno-address-of-packed-member # TODO: fix in c_library_v2 diff --git a/src/modules/mavlink/mavlink_bridge_header.h b/src/modules/mavlink/mavlink_bridge_header.h index cc735329e653..6d3a0152a4db 100644 --- a/src/modules/mavlink/mavlink_bridge_header.h +++ b/src/modules/mavlink/mavlink_bridge_header.h @@ -61,7 +61,7 @@ # define MAVLINK_COMM_5 static_cast(5) #endif -#include +#include #include __BEGIN_DECLS