Add -I$(srcdir) to CPPFLAGS to make psqlscan.c compile in vpath builds.
Tom Lane <tgl@sss.pgh.pa.us>
Add -I$(srcdir) to CPPFLAGS to make psqlscan.c compile in vpath builds. Not sure why this hasn't been reported before; perhaps it is not needed with newer gcc versions, but it definitely fails here.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/Makefile | modified | +2 −2 |