Skip to content

Commit

Permalink
Merge pull request #812 from mavlink/fix-mavlink-warning
Browse files Browse the repository at this point in the history
mavlink_passthrough: re-use mavlink_include.h
  • Loading branch information
julianoes committed Jul 25, 2019
2 parents 2436f8b + 4ef703b commit f4065b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/mavlink_include.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
#pragma GCC system_header
#endif

#include <mavlink/v2.0/common/mavlink.h>
#include "mavlink/v2.0/common/mavlink.h"
1 change: 1 addition & 0 deletions src/plugins/mavlink_passthrough/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ install(TARGETS mavsdk_mavlink_passthrough

install(FILES
include/plugins/mavlink_passthrough/mavlink_passthrough.h
../../core/mavlink_include.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mavsdk/plugins/mavlink_passthrough
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <functional>

// This plugin provides/includes the mavlink 2.0 header files.
#include "mavlink/v2.0/common/mavlink.h"
#include "mavlink_include.h"
#include "plugin_base.h"

namespace mavsdk {
Expand Down

0 comments on commit f4065b3

Please sign in to comment.