diff --git a/src/lgfx/v1/platforms/sdl/Panel_sdl.cpp b/src/lgfx/v1/platforms/sdl/Panel_sdl.cpp index 23142456..bfc13c31 100644 --- a/src/lgfx/v1/platforms/sdl/Panel_sdl.cpp +++ b/src/lgfx/v1/platforms/sdl/Panel_sdl.cpp @@ -18,6 +18,8 @@ Original Source: Porting for SDL: [imliubo](https://github.com/imliubo) /----------------------------------------------------------------------------*/ +#if !defined (ARDUINO) + #include "Panel_sdl.hpp" #if defined ( SDL_h_ ) @@ -467,3 +469,4 @@ namespace lgfx } #endif +#endif diff --git a/src/lgfx/v1/platforms/sdl/common.cpp b/src/lgfx/v1/platforms/sdl/common.cpp index c6cdbce8..67d7cf43 100644 --- a/src/lgfx/v1/platforms/sdl/common.cpp +++ b/src/lgfx/v1/platforms/sdl/common.cpp @@ -18,6 +18,8 @@ Original Source: Porting for SDL: [imliubo](https://github.com/imliubo) /----------------------------------------------------------------------------*/ +#if !defined (ARDUINO) + #include "common.hpp" #if defined ( SDL_h_ ) @@ -114,3 +116,4 @@ namespace lgfx } #endif +#endif