summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2005-06-26 13:42:11 +0000
committerAlexander Barton <alex@barton.de>2005-06-26 13:42:11 +0000
commit0c33f46fc2b52ed4c3a74cf62c8120721941ab6e (patch)
tree451f4e5368606f92b8dcff45a31bae2c92897d31
parent117a9e21e773f54e6dfa5a47fd30a913ac570c31 (diff)
downloadngircd-0c33f46fc2b52ed4c3a74cf62c8120721941ab6e.tar.gz
ngircd-0c33f46fc2b52ed4c3a74cf62c8120721941ab6e.zip
Fixed wrong order of #includes in test for "socklen_t" (caused problems on OpenBSD).
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 1ebaadbf..698fd4fe 100644
--- a/configure.in
+++ b/configure.in
@@ -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;