-fix include
authorChristian Grothoff <christian@grothoff.org>
Fri, 30 Sep 2016 08:00:03 +0000 (08:00 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 30 Sep 2016 08:00:03 +0000 (08:00 +0000)
src/include/gnunet_postgres_lib.h
src/include/gnunet_pq_lib.h

index 0307df50d183e0c33d5c45f53266b5d1f79c05eb..c208606816bca7ef606bf6788a81232cfbf5557a 100644 (file)
@@ -31,7 +31,7 @@
 #define GNUNET_POSTGRES_LIB_H
 
 #include "gnunet_util_lib.h"
-#include <libpq-fe.h>
+#include <postgresql/libpq-fe.h>
 
 #ifdef __cplusplus
 extern "C"
@@ -57,12 +57,12 @@ extern "C"
  * @return #GNUNET_OK if the result is acceptable
  */
 int
-GNUNET_POSTGRES_check_result_ (PGconn *dbh, 
+GNUNET_POSTGRES_check_result_ (PGconn *dbh,
                               PGresult *ret,
                               int expected_status,
-                               const char *command, 
+                               const char *command,
                               const char *args,
-                               const char *filename, 
+                               const char *filename,
                               int line);
 
 
@@ -91,9 +91,9 @@ GNUNET_POSTGRES_check_result_ (PGconn *dbh,
  * @return #GNUNET_OK on success
  */
 int
-GNUNET_POSTGRES_exec_ (PGconn *dbh, 
-                      const char *sql, 
-                      const char *filename, 
+GNUNET_POSTGRES_exec_ (PGconn *dbh,
+                      const char *sql,
+                      const char *filename,
                       int line);
 
 
@@ -119,11 +119,11 @@ GNUNET_POSTGRES_exec_ (PGconn *dbh,
  * @return #GNUNET_OK on success
  */
 int
-GNUNET_POSTGRES_prepare_ (PGconn *dbh, 
-                         const char *name, 
+GNUNET_POSTGRES_prepare_ (PGconn *dbh,
+                         const char *name,
                          const char *sql,
                           int nparams,
-                          const char *filename, 
+                          const char *filename,
                          int line);
 
 
index 33a3e54254cfe2fa47995b5e3c76992b9e7262dd..753310b28e547c6bc1a69d0d32b389b20baaa0d1 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef GNUNET_PQ_LIB_H_
 #define GNUNET_PQ_LIB_H_
 
-#include <libpq-fe.h>
+#include <postgresql/libpq-fe.h>
 #include "gnunet_util_lib.h"