From 904c52b2f3ae39e324d548e68179cd6af2b06833 Mon Sep 17 00:00:00 2001 From: Gabor X Toth <*@tg-x.net> Date: Fri, 30 Sep 2016 15:07:38 +0000 Subject: [PATCH] postgresql cflags --- configure.ac | 1 + src/include/gnunet_postgres_lib.h | 2 +- src/include/gnunet_pq_lib.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 43876a7ec..bd230860d 100644 --- a/configure.ac +++ b/configure.ac @@ -798,6 +798,7 @@ AC_SUBST(SQLITE_LDFLAGS) postgres=false AX_LIB_POSTGRESQL([]) if test "$found_postgresql" = "yes"; then + CFLAGS="$CFLAGS $POSTGRESQL_CPPFLAGS" CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS" AC_CHECK_HEADERS([libpq-fe.h], postgres=true) diff --git a/src/include/gnunet_postgres_lib.h b/src/include/gnunet_postgres_lib.h index c20860681..66fc2a5df 100644 --- a/src/include/gnunet_postgres_lib.h +++ b/src/include/gnunet_postgres_lib.h @@ -31,7 +31,7 @@ #define GNUNET_POSTGRES_LIB_H #include "gnunet_util_lib.h" -#include +#include #ifdef __cplusplus extern "C" diff --git a/src/include/gnunet_pq_lib.h b/src/include/gnunet_pq_lib.h index 753310b28..33a3e5425 100644 --- a/src/include/gnunet_pq_lib.h +++ b/src/include/gnunet_pq_lib.h @@ -21,7 +21,7 @@ #ifndef GNUNET_PQ_LIB_H_ #define GNUNET_PQ_LIB_H_ -#include +#include #include "gnunet_util_lib.h" -- 2.25.1