File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 10
10
*
11
11
*
12
12
* IDENTIFICATION
13
- * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.46 1997/05/25 15:37:15 scrappy Exp $
13
+ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.47 1997/07/30 14:03:33 scrappy Exp $
14
14
*
15
15
* NOTES
16
16
*
34
34
*/
35
35
/* moved here to prevent double define */
36
36
#include <sys/param.h> /* for MAXHOSTNAMELEN on most */
37
- #ifndef MAXHOSTNAMELEN
37
+ #ifdef HAVE_NETDB_H
38
38
#include <netdb.h> /* for MAXHOSTNAMELEN on some */
39
39
#endif
40
40
Original file line number Diff line number Diff line change @@ -2688,7 +2688,7 @@ else
2688
2688
fi
2689
2689
done
2690
2690
2691
- for ac_hdr in sys/resource.h
2691
+ for ac_hdr in sys/resource.h netdb.h
2692
2692
do
2693
2693
ac_safe=` echo " $ac_hdr " | sed ' y%./+-%__p_%' `
2694
2694
echo $ac_n " checking for $ac_hdr " " ... $ac_c " 1>&6
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ dnl Checks for header files.
376
376
AC_HEADER_STDC
377
377
AC_HEADER_SYS_WAIT
378
378
AC_CHECK_HEADERS(limits.h unistd.h termios.h values.h sys/select.h)
379
- AC_CHECK_HEADERS(sys/resource.h)
379
+ AC_CHECK_HEADERS(sys/resource.h netdb.h )
380
380
AC_CHECK_HEADERS(readline.h history.h dld.h crypt.h endian.h float.h)
381
381
382
382
dnl Checks for typedefs, structures, and compiler characteristics.
Original file line number Diff line number Diff line change 14
14
* The following is set using configure.
15
15
*/
16
16
17
+ /* Set to 1 if you have <netdb.h> */
18
+ #undef HAVE_NETDB_H
19
+
17
20
/* Set to 1 if you have <endian.h> */
18
21
#undef HAVE_ENDIAN_H
19
22
You can’t perform that action at this time.
0 commit comments