Ingo Schwarze: > > In the groff port, we could add #include "config.h" to all files > > that don't do so already and include <stdlib.h>. > > I plan to prepare, test, and post patches for the groff port when i find > time (which will not take more than two days), but if others beat me to > it, i do not object to such paches being committed at once.
I gave this a try but ran into an obstacle with yacc(1), which puts #include <stdlib.h> #include <string.h> at the very start of the generated files. There's no way to prepend an #include "config.h" there, apart from post-processing yacc's output with sed... -- Christian "naddy" Weisgerber [email protected]
