Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit32909a5

Browse files
committed
Fix network_spgist.c build failures from missing AF_INET definition.
AF_INET is apparently defined in something that's pulled in automaticallyon Linux, but the buildfarm says that's not true everywhere. Comparingto network_gist.c suggests that including <sys/socket.h> ought to fix it,and the POSIX standard concurs.
1 parent77e2906 commit32909a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/backend/utils/adt/network_spgist.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
*/
3232
#include"postgres.h"
3333

34+
#include<sys/socket.h>
35+
3436
#include"access/spgist.h"
3537
#include"catalog/pg_type.h"
3638
#include"utils/inet.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp