summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-06-12 16:05:10 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-06-12 16:05:10 +0000
commitccd99a5eb52b7dfb7fd5501a6b645715c409c774 (patch)
treea9c2260addc577a1251d4d4afb869b876f74b04d /configure.in
parent889dd3c00d1ddd9b2ca77d0154cf52fc664a2049 (diff)
downloadpostgresql-ccd99a5eb52b7dfb7fd5501a6b645715c409c774.tar.gz
<sys/socket.h> requires <sys/types.h> to already have been included
on some platforms.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 8ccff55630..46647f11e1 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-dnl $Header: /cvsroot/pgsql/configure.in,v 1.259 2003/06/12 07:36:50 momjian Exp $
+dnl $Header: /cvsroot/pgsql/configure.in,v 1.260 2003/06/12 16:05:09 tgl Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -794,6 +794,7 @@ PGAC_STRUCT_ADDRINFO
AC_CHECK_TYPES([struct cmsgcred, struct fcred, struct sockcred], [], [],
[#include <sys/param.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ucred.h>])