The attached patch makes the tree build for me again after the recent
include changes. This patch still violates the postgres.h before all
system headers rule and I'm still not sure what changed that broke
everything, but if people need to get work done this may help.
Kris Jurka