Don't include postgres.h in postgres_fe.h for cpluspluscheck.

Error exposed by recent Assert changes.

Complaint from Peter Eisentraut.
This commit is contained in:
Andrew Dunstan 2012-12-18 16:30:14 -05:00
parent 2666a6d0b9
commit 9ac749ceb5
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ for f in `find src/include src/interfaces/libpq/libpq-fe.h src/interfaces/libpq/
do
{
echo ' extern "C" {'
echo '#include "postgres.h"'
test $f != "src/include/postgres_fe.h" && echo '#include "postgres.h"'
echo "#include \"$f\""
echo '};'
} >$tmp/test.cpp