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.
Michael
--
Michael Meskes | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire!
Tel.: (+49) 2431/72651 | Use Debian GNU/Linux!
Email: Michael(at)Fam-Meskes(dot)De | Use PostgreSQL!