ports/databases/pglogical/files/extra-patch-pglogical__apply__spi.c
Matthew Seaman fc02e3fd43 Fix compilation with postgresql11. With previous versions of
postgresql, <arpa/inet.h> was included automatically as part of the
postgres module building environment.  But it needs to be included
explicitly for the most recent postgres.

Submitted by:	andriy@irbisnet.com
2019-03-06 06:53:54 +00:00

10 lines
196 B
C

--- pglogical_apply_spi.c.orig 2019-03-06 06:44:31 UTC
+++ pglogical_apply_spi.c
@@ -16,6 +16,7 @@
*/
#include <stdio.h>
#include <unistd.h>
+#include <arpa/inet.h>
#include "postgres.h"