mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 04:30:36 +08:00
Linux: fix for undefined BO in mavlink_main_linux.cpp
if termios.h is included before mathlib.h then BO is undefined. Since mathlib.h is not needed it was removed but I still don't know why this error occurs. Also added -lrt to link flags for clock_gettime Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -68,7 +68,6 @@
|
||||
#include <systemlib/systemlib.h>
|
||||
#include <geo/geo.h>
|
||||
#include <dataman/dataman.h>
|
||||
#include <mathlib/mathlib.h>
|
||||
#include <mavlink/mavlink_log.h>
|
||||
|
||||
#include <uORB/topics/parameter_update.h>
|
||||
|
||||
Reference in New Issue
Block a user