Commit 32909a57 authored by Tom Lane's avatar Tom Lane

Fix network_spgist.c build failures from missing AF_INET definition.

AF_INET is apparently defined in something that's pulled in automatically
on Linux, but the buildfarm says that's not true everywhere.  Comparing
to network_gist.c suggests that including <sys/socket.h> ought to fix it,
and the POSIX standard concurs.
parent 77e29068
...@@ -31,6 +31,8 @@ ...@@ -31,6 +31,8 @@
*/ */
#include "postgres.h" #include "postgres.h"
#include <sys/socket.h>
#include "access/spgist.h" #include "access/spgist.h"
#include "catalog/pg_type.h" #include "catalog/pg_type.h"
#include "utils/inet.h" #include "utils/inet.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment