cpluspluscheck: Update include path
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 11 Apr 2016 15:16:16 +0000 (11:16 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 11 Apr 2016 15:16:16 +0000 (11:16 -0400)
Some things in src/include/fe_utils require libpq headers, so add
libpq's include path to the command line used here.

src/tools/pginclude/cpluspluscheck

index eedfc8520b030659fd91038d8345f20737eb8c8d..3a771c48b62860c90d46c9ed555a430f9978b473 100755 (executable)
@@ -36,5 +36,5 @@ do
            echo '};'
        } >$tmp/test.cpp
 
-       ${CXX:-g++} -I . -I src/include -fsyntax-only -Wall -c $tmp/test.cpp
+       ${CXX:-g++} -I . -I src/interfaces/libpq -I src/include -fsyntax-only -Wall -c $tmp/test.cpp
 done