> I just looked into the code and found that the file pgsql/common.c includes
> interfaces/libpq/c.h instead of include/c.h. I changed the CFLAGS setting in
> the Makefile to append -I$(LIBPQDIR) instead of insert it and it compiles
> fine.
>
> BTW the file common.c includes c.h twice, directly and via common.h.
I have cleaned up include file use in psql. It now uses the standard
postgres.h includes and does not use redundant includes as much.
-- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026