From d580483c6bbf49181d804cf05aa9dbc825c8d8ab Mon Sep 17 00:00:00 2001 From: witekfl Date: Sun, 29 Jan 2006 12:28:05 +0100 Subject: [PATCH] Compilation fix --- src/scripting/python/core.c | 2 +- src/scripting/python/hooks.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */