diff --git a/libraries/AP_HAL_Linux/Storage.cpp b/libraries/AP_HAL_Linux/Storage.cpp index 5de71951e4..674c45fd32 100644 --- a/libraries/AP_HAL_Linux/Storage.cpp +++ b/libraries/AP_HAL_Linux/Storage.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include "Storage.h" using namespace Linux; @@ -22,6 +23,8 @@ using namespace Linux; // card for ArduCopter and ArduPlane #if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP #define STORAGE_DIR "/data/ftp/internal_000/APM" +#elif APM_BUILD_TYPE(APM_BUILD_Replay) +#define STORAGE_DIR "." #else #define STORAGE_DIR "/var/APM" #endif