Fixed wrong order of #includes in test for "socklen_t" (caused problems on OpenBSD).

This commit is contained in:
Alexander Barton 2005-06-26 13:42:11 +00:00
parent 117a9e21e7
commit 0c33f46fc2
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
# (at your option) any later version.
# Please read the file COPYING, README and AUTHORS for more information.
#
# $Id: configure.in,v 1.110 2005/05/21 21:34:47 alex Exp $
# $Id: configure.in,v 1.111 2005/06/26 13:42:11 alex Exp $
#
# -- Initialisation --
@ -91,8 +91,8 @@ AC_CHECK_HEADERS([arpa/inet.h ctype.h malloc.h stdbool.h stddef.h varargs.h])
AC_MSG_CHECKING(whether socklen_t exists)
AC_TRY_COMPILE([
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/socket.h>
],[
socklen_t a, b;
a = 2; b = 4; a += b;