File: 01_fix_include_libpq-dev.diff

package info (click to toggle)
hydra 9.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,560 kB
  • sloc: ansic: 22,255; sh: 2,420; makefile: 137
file content (15 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Use libpq-dev instead libpq-fe.h from upstream.
Forwarded: not-needed
Author: Julián Moreno Patiño <darkjunix@gmail.com>
Last-Update: 2020-07-30
--- a/hydra-postgres.c
+++ b/hydra-postgres.c
@@ -11,7 +11,7 @@
 void dummy_postgres() { printf("\n"); }
 #else
 
-#include "libpq-fe.h" // Postgres connection functions
+#include <postgresql/libpq-fe.h> // Postgres connection functions
 #include <stdio.h>
 
 #define DEFAULT_DB "template1"