diff --git a/libraries/AP_SerialManager/AP_SerialManager.cpp b/libraries/AP_SerialManager/AP_SerialManager.cpp index 4c8d74016c..14b80d8d36 100644 --- a/libraries/AP_SerialManager/AP_SerialManager.cpp +++ b/libraries/AP_SerialManager/AP_SerialManager.cpp @@ -21,6 +21,7 @@ */ #include +#include #include "AP_SerialManager.h" extern const AP_HAL::HAL& hal; diff --git a/libraries/AP_SerialManager/AP_SerialManager.h b/libraries/AP_SerialManager/AP_SerialManager.h index 5ec8956331..b5a8d77002 100644 --- a/libraries/AP_SerialManager/AP_SerialManager.h +++ b/libraries/AP_SerialManager/AP_SerialManager.h @@ -21,10 +21,9 @@ */ #pragma once -#include -#include #include #include +#include // we have hal.uartA to hal.uartG #define SERIALMANAGER_NUM_PORTS 7