diff --git a/swig/pyniflib.i b/swig/pyniflib.i
index 873b77dc23f9c234105ddc2ab0fd5ed444cb5c12..c997f3b8f058b31748edb4dccdddbee5190f2b63 100644
--- a/swig/pyniflib.i
+++ b/swig/pyniflib.i
@@ -607,9 +607,9 @@ POSSIBILITY OF SUCH DAMAGE. */
 %}
 
 // python specific extensions
-%include "../include/python.h"
+%include "python.h"
 %{
-#include "../include/python.h"
+#include "python.h"
 %}
 
 %template(vector_byte) std::vector<Niflib::byte>;
diff --git a/include/python.h b/swig/python.h
similarity index 63%
rename from include/python.h
rename to swig/python.h
index df90929bf3927cbd88957aed19aaa600bf5f46e1..a8b184b7f6659a408a2d9a9b56e69c27cfd01011 100644
--- a/include/python.h
+++ b/swig/python.h
@@ -1,2 +1,2 @@
-#include "obj/NiNode.h"
+#include "../include/obj/NiNode.h"
 NiNodeRef CreateNiNode() { return Ref<NiNode>(new NiNode); }