Peter Eisentraut <peter_e@gmx.net> writes:
>> In src/pl/tcl/pltcl.c:
>> Permute the order of:
>> #include "postgres.h"
>> #include <tcl.h>
>> so as it appears as:
>> #include <tcl.h>
>> #include "postgres.h"
> I' afraid this is not a fix but just paints over the symptoms.
... and would create serious new problems of its own, at least on some
platforms. postgres.h has to be the *first* inclusion of any system
headers.
regards, tom lane