From: Gabor X Toth <*@tg-x.net> Date: Fri, 30 Sep 2016 15:07:38 +0000 (+0000) Subject: postgresql cflags X-Git-Tag: initial-import-from-subversion-38251~172 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=904c52b2f3ae39e324d548e68179cd6af2b06833;p=oweals%2Fgnunet.git postgresql cflags --- 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"