mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
configure: Use pg_config to locate the header location
Changelog-Fixed: build: On some operating systems the postgresql library would not get picked up. `./configure` now uses `pg_config` to locate the headers.
This commit is contained in:
committed by
Rusty Russell
parent
3ae4ce736d
commit
0a501b3646
@@ -8,7 +8,7 @@
|
||||
|
||||
#if HAVE_POSTGRES
|
||||
/* Indented in order not to trigger the inclusion order check */
|
||||
#include <postgresql/libpq-fe.h>
|
||||
#include <libpq-fe.h>
|
||||
|
||||
/* Cherry-picked from here: libpq/src/interfaces/ecpg/ecpglib/pg_type.h */
|
||||
#define BYTEAOID 17
|
||||
|
||||
Reference in New Issue
Block a user