diff --git a/src/mavsdk/core/inflate_lzma.cpp b/src/mavsdk/core/inflate_lzma.cpp index ac06752a3..2c147465e 100644 --- a/src/mavsdk/core/inflate_lzma.cpp +++ b/src/mavsdk/core/inflate_lzma.cpp @@ -4,6 +4,7 @@ #include #include #include +#define LZMA_API_STATIC #include // The following code is from the liblzma example: