aboutsummaryrefslogtreecommitdiff
path: root/security/gvmd/files/patch-src_sql_pg.c
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-01-06 08:48:43 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2021-01-06 08:48:43 +0000
commit19a685d678a085ebd46841c6948a578da61fd563 (patch)
tree155314ada8cb5de59c3966ca2a3b4559f29a5c5b /security/gvmd/files/patch-src_sql_pg.c
parent924a94fc40828368823aea7720e63e3411cba5bb (diff)
Notes
Diffstat (limited to 'security/gvmd/files/patch-src_sql_pg.c')
-rw-r--r--security/gvmd/files/patch-src_sql_pg.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/security/gvmd/files/patch-src_sql_pg.c b/security/gvmd/files/patch-src_sql_pg.c
new file mode 100644
index 000000000000..ab311fbc3767
--- /dev/null
+++ b/security/gvmd/files/patch-src_sql_pg.c
@@ -0,0 +1,18 @@
+--- src/sql_pg.c 2020-12-31 16:50:03.471244000 -0500
++++ src/sql_pg.c 2020-12-31 16:50:43.332754000 -0500
+@@ -26,13 +26,13 @@
+ #include "sql.h"
+
+ #include <assert.h>
+-#include <endian.h>
++#include <sys/endian.h>
+ #include <errno.h>
+ #include <arpa/inet.h>
+ #include <glib.h>
+ #include <inttypes.h>
+ #include <netinet/in.h>
+-#include <postgresql/libpq-fe.h>
++#include <libpq-fe.h>
+ #include <stdlib.h>
+ #include <string.h>
+