diff --git a/scripting/python_scripting.cpp b/scripting/python_scripting.cpp
index 47e3b09e5c..1688502c20 100644
--- a/scripting/python_scripting.cpp
+++ b/scripting/python_scripting.cpp
@@ -54,6 +54,7 @@
 #include <wx/utils.h>
 
 #include <config.h>
+#include <gestfich.h>
 
 
 SCRIPTING::SCRIPTING()