Add libpq include directory to script.
authorBruce Momjian <bruce@momjian.us>
Tue, 11 Jul 2006 02:01:24 +0000 (02:01 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 11 Jul 2006 02:01:24 +0000 (02:01 +0000)
src/tools/pginclude/pgcompinclude

index b77eeb65574c23b437dcfce98a138ff812cd5e98..eb3e44d90cb54458f1941ec7fd05bbd565415102 100755 (executable)
@@ -14,7 +14,7 @@ do
        pgdefine "$FILE" >>/tmp/$$.c
        echo "}" >>/tmp/$$.c
        cc $CFLAGS -fsyntax-only -Werror -Wall -Wmissing-prototypes -Wmissing-declarations \
-               -I/pg/include -I/pg/backend -I`dirname $FILE` -c /tmp/$$.c -o /tmp/$$.o >/tmp/$$ 2>&1
+               -I/pg/include -I/pg/backend -I/pg/interfaces/libpq -I`dirname $FILE` -c /tmp/$$.c -o /tmp/$$.o >/tmp/$$ 2>&1
        if [ "$?" -ne 0 ]
        then    echo "$FILE"
                if [ "$1" = "-v" ]