diff --git a/src/scripting/python/core.c b/src/scripting/python/core.c index 5e08016e..fda82188 100644 --- a/src/scripting/python/core.c +++ b/src/scripting/python/core.c @@ -5,6 +5,7 @@ #endif #include "scripting/python/core.h" +#include #include #include @@ -17,7 +18,6 @@ #include "util/file.h" #include "util/string.h" -#include PyObject *pDict, *pModule; diff --git a/src/scripting/python/hooks.c b/src/scripting/python/hooks.c index 6a92ffdf..8473ad7b 100644 --- a/src/scripting/python/hooks.c +++ b/src/scripting/python/hooks.c @@ -5,6 +5,7 @@ #endif #include "scripting/python/core.h" +#include #include "elinks.h" @@ -16,7 +17,6 @@ #include "session/session.h" #include "util/string.h" -#include /* The events that will trigger the functions below and what they are expected * to do is explained in doc/events.txt */