diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/include/gnunet_postgres_lib.h | 2 | ||||
-rw-r--r-- | 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) | |||
798 | postgres=false | 798 | postgres=false |
799 | AX_LIB_POSTGRESQL([]) | 799 | AX_LIB_POSTGRESQL([]) |
800 | if test "$found_postgresql" = "yes"; then | 800 | if test "$found_postgresql" = "yes"; then |
801 | CFLAGS="$CFLAGS $POSTGRESQL_CPPFLAGS" | ||
801 | CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS" | 802 | CPPFLAGS="$CPPFLAGS $POSTGRESQL_CPPFLAGS" |
802 | AC_CHECK_HEADERS([libpq-fe.h], | 803 | AC_CHECK_HEADERS([libpq-fe.h], |
803 | postgres=true) | 804 | 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 @@ | |||
31 | #define GNUNET_POSTGRES_LIB_H | 31 | #define GNUNET_POSTGRES_LIB_H |
32 | 32 | ||
33 | #include "gnunet_util_lib.h" | 33 | #include "gnunet_util_lib.h" |
34 | #include <postgresql/libpq-fe.h> | 34 | #include <libpq-fe.h> |
35 | 35 | ||
36 | #ifdef __cplusplus | 36 | #ifdef __cplusplus |
37 | extern "C" | 37 | 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 @@ | |||
21 | #ifndef GNUNET_PQ_LIB_H_ | 21 | #ifndef GNUNET_PQ_LIB_H_ |
22 | #define GNUNET_PQ_LIB_H_ | 22 | #define GNUNET_PQ_LIB_H_ |
23 | 23 | ||
24 | #include <postgresql/libpq-fe.h> | 24 | #include <libpq-fe.h> |
25 | #include "gnunet_util_lib.h" | 25 | #include "gnunet_util_lib.h" |
26 | 26 | ||
27 | 27 | ||