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

Commite138630

Browse files
committed
On some systems <sys/types.h> must be included before <sys/socket.h>.
1 parentae02cf3 commite138630

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎config/c-library.m4

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Macros that test various C library quirks
2-
# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.17 2003/04/06 22:45:22 petere Exp $
2+
# $Header: /cvsroot/pgsql/config/c-library.m4,v 1.18 2003/04/12 23:25:42 tgl Exp $
33

44

55
# PGAC_VAR_INT_TIMEZONE
@@ -72,7 +72,8 @@ AC_DEFUN([PGAC_STRUCT_SOCKADDR_UN],
7272
# If `struct addrinfo' exists, define HAVE_STRUCT_ADDRINFO.
7373
AC_DEFUN([PGAC_STRUCT_ADDRINFO],
7474
[AC_CHECK_TYPES([struct addrinfo],[],[],
75-
[#include <sys/socket.h>
75+
[#include <sys/types.h>
76+
#include <sys/socket.h>
7677
#include <netdb.h>
7778
])])# PGAC_STRUCT_ADDRINFO
7879

‎configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9360,6 +9360,7 @@ else
93609360
cat>conftest.$ac_ext<<_ACEOF
93619361
#line$LINENO "configure"
93629362
#include "confdefs.h"
9363+
#include <sys/types.h>
93639364
#include <sys/socket.h>
93649365
#include <netdb.h>
93659366

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp