summaryrefslogtreecommitdiffstats
path: root/main/freeswitch/fix-postgres-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/freeswitch/fix-postgres-headers.patch')
-rw-r--r--main/freeswitch/fix-postgres-headers.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/freeswitch/fix-postgres-headers.patch b/main/freeswitch/fix-postgres-headers.patch
new file mode 100644
index 000000000..c158c8d3b
--- /dev/null
+++ b/main/freeswitch/fix-postgres-headers.patch
@@ -0,0 +1,11 @@
+--- ./src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c.orig
++++ ./src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c
+@@ -37,7 +37,7 @@
+
+ #include <switch.h>
+ #include <sys/stat.h>
+-#include <postgresql/libpq-fe.h>
++#include <libpq-fe.h>
+
+ SWITCH_MODULE_LOAD_FUNCTION(mod_cdr_pg_csv_load);
+ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_cdr_pg_csv_shutdown);