Hi.
In libpq-fe.h has an artifact pre C99, pqbool.IMO this is not more necessary, once Postgres supports C99and bool becomes standard.
So get ride of pqbool and use bool instead.
trivial patch attached.
best regards,Ranier Vilela