diff --git a/Tools/Replay/Replay.cpp b/Tools/Replay/Replay.cpp index 25b236ce16..fb89406c2f 100644 --- a/Tools/Replay/Replay.cpp +++ b/Tools/Replay/Replay.cpp @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include @@ -66,6 +65,10 @@ #include "LogReader.h" #include "DataFlashFileReader.h" +#if CONFIG_HAL_BOARD == HAL_BOARD_SITL +#include +#endif + #define streq(x, y) (!strcmp(x, y)) const AP_HAL::HAL& hal = AP_HAL::get_HAL();