Index: configure
===================================================================
RCS file: /home/rbt/work/postgresql/cvs/pgsql-server/configure,v
retrieving revision 1.268
diff -c -r1.268 configure
*** configure	12 Jun 2003 07:36:50 -0000	1.268
--- configure	12 Jun 2003 15:34:54 -0000
***************
*** 9906,9911 ****
--- 9906,9912 ----
    cat >conftest.$ac_ext <<_ACEOF
  #line $LINENO "configure"
  #include "confdefs.h"
+ #include <sys/types.h>
  #ifdef HAVE_SYS_SOCKET_H
  #include <sys/socket.h>
  #endif
Index: config/c-library.m4
===================================================================
RCS file: /home/rbt/work/postgresql/cvs/pgsql-server/config/c-library.m4,v
retrieving revision 1.20
diff -c -r1.20 c-library.m4
*** config/c-library.m4	12 Jun 2003 07:36:51 -0000	1.20
--- config/c-library.m4	12 Jun 2003 15:34:21 -0000
***************
*** 104,110 ****
  # it is missing then one could define it.
  AC_DEFUN([PGAC_STRUCT_SOCKADDR_STORAGE],
  [AC_CHECK_TYPES([struct sockaddr_storage], [], [],
! [#ifdef HAVE_SYS_SOCKET_H
  #include <sys/socket.h>
  #endif
  ])])# PGAC_STRUCT_SOCKADDR_STORAGE
--- 104,111 ----
  # it is missing then one could define it.
  AC_DEFUN([PGAC_STRUCT_SOCKADDR_STORAGE],
  [AC_CHECK_TYPES([struct sockaddr_storage], [], [],
! [#include <sys/types.h>
! #ifdef HAVE_SYS_SOCKET_H
  #include <sys/socket.h>
  #endif
  ])])# PGAC_STRUCT_SOCKADDR_STORAGE
