pgsql-bugs(at)postgresql(dot)org writes:
> Fix: I added the following to the file "c.h" in the "include"
> subdirectory:
> #if defined(sun)
> #include <stdarg.h>
> #endif
FYI, <stdarg.h> is included unconditionally in current sources ...
regards, tom lane