mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
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.
This commit is contained in:
parent
77e2906821
commit
32909a57f9
@ -31,6 +31,8 @@
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include "access/spgist.h"
|
||||
#include "catalog/pg_type.h"
|
||||
#include "utils/inet.h"
|
||||
|
Loading…
Reference in New Issue
Block a user