diff --git a/libraries/AP_Scripting/lua_repl.cpp b/libraries/AP_Scripting/lua_repl.cpp index b5d775431d..373276ca10 100644 --- a/libraries/AP_Scripting/lua_repl.cpp +++ b/libraries/AP_Scripting/lua_repl.cpp @@ -10,6 +10,8 @@ #include "lua/src/lauxlib.h" #include "lua/src/lualib.h" +#include + #if !defined(LUA_MAXINPUT) #define LUA_MAXINPUT 256 #endif diff --git a/libraries/AP_Scripting/lua_scripts.cpp b/libraries/AP_Scripting/lua_scripts.cpp index 389429a36a..ea5d92d411 100644 --- a/libraries/AP_Scripting/lua_scripts.cpp +++ b/libraries/AP_Scripting/lua_scripts.cpp @@ -16,6 +16,7 @@ #include "lua_scripts.h" #include #include "AP_Scripting.h" +#include #include