- Fix broken autoconf typedef detection. Report from Marc G.
Fournier <marc.fournier@acadiau.ca>
diff --git a/configure.in b/configure.in
index 4e5bc60..dd3e168 100644
--- a/configure.in
+++ b/configure.in
@@ -184,8 +184,10 @@
AC_MSG_CHECKING([For socklen_t])
AC_TRY_COMPILE(
- [#include <sys/types.h>],
- [#include <sys/socket.h>],
+ [
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ ],
[socklen_t foo; foo = 1235;],
[
AC_DEFINE(HAVE_SOCKLEN_T)
@@ -197,7 +199,6 @@
AC_MSG_CHECKING([For size_t])
AC_TRY_COMPILE(
[#include <sys/types.h>],
- [#include <sys/socket.h>],
[size_t foo; foo = 1235;],
[
AC_DEFINE(HAVE_SIZE_T)