Skip to content

Commit feca645

Browse files
committed
Update postgres_asio.h
1 parent 91db1a1 commit feca645

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

postgres_asio/postgres_asio.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@
1111
#endif
1212

1313
#ifdef __LINUX__
14+
#if __LSB_DISTRIBUTOR_ID__ == "centos"
15+
#include <libpq-fe.h>
16+
#else
1417
#include <postgresql/libpq-fe.h>
1518
#endif
19+
#endif
1620

1721
//inspiration
1822
//https://github.com/brianc/node-libpq

0 commit comments

Comments
 (0)