On Sep 21, 2006, Kalle Olavi Niemitalo writes:
>I get a preprocessor error and reverting the quoted patch fixes it.

Hmm, I was trying to follow this advice from doc/hacking.txt: "Please
keep includes in alphabetical order unless a specific order is required
for compilation on weird systems (then please at least make a proper
comment about that)."

Would the attached version of the patch work correctly under Debian?

diff --git a/mrldev:src/scripting/python/python.c b/mrldev:src/scripting/python/python.c
index cf9e0c0..e1bc374 100644
--- a/mrldev:src/scripting/python/python.c
+++ b/mrldev:src/scripting/python/python.c
@@ -4,11 +4,12 @@ #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
-#include "scripting/python/core.h"
+#include <Python.h>
 
 #include "elinks.h"
 
 #include "main/module.h"
+#include "scripting/python/core.h"
 #include "scripting/python/hooks.h"
 
 
_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

Reply via email to