Index: configure.in =================================================================== RCS file: /home/freeciv/CVS/freeciv/configure.in,v retrieving revision 1.223 diff -u -r1.223 configure.in --- configure.in 2003/07/10 03:34:29 1.223 +++ configure.in 2003/07/10 16:24:31 @@ -518,7 +518,7 @@ dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(fcntl.h sys/time.h sys/types.h unistd.h sys/utsname.h \ - stdbool.h) + stdbool.h sys/file.h) dnl Avoid including the unix emulation layer if we build mingw executables dnl There would be type conflicts between winsock and bsd/unix includes if test "x$MINGW32" != "xyes"; then @@ -548,7 +548,7 @@ AC_CHECK_FUNCS(fileno gethostname getpwuid inet_aton \ select snooze strerror strcasecmp strncasecmp \ - strlcat strlcpy strstr usleep vsnprintf uname) + strlcat strlcpy strstr usleep vsnprintf uname flock) AC_MSG_CHECKING(for working gettimeofday) FC_CHECK_GETTIMEOFDAY_RUNTIME(,AC_DEFINE(HAVE_GETTIMEOFDAY),)