diff --git a/configure.in b/configure.in index 209c29252..09aea8f35 100644 --- a/configure.in +++ b/configure.in @@ -58,6 +58,9 @@ SAVE_CFLAGS="$CFLAGS" AC_PROG_CC([$($PG_CONFIG --cc)]) CFLAGS="$SAVE_CFLAGS" +# Add the Postgres PKGINCLUDEDIR to the include search path +CPPFLAGS="$CPPFLAGS -I$($PG_CONFIG --pkgincludedir)" + # check for a number of CFLAGS that make development easier # CITUSAC_PROG_CC_CFLAGS_OPT