aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-05-07 05:55:06 +0000
committerNick Mathewson <nickm@torproject.org>2005-05-07 05:55:06 +0000
commit10b2208d9386972b76f10c2557562b5912dd130e (patch)
tree007a393aff385b1cbe47ffdc4d377edb5dac9898 /configure.in
parent6567ec9ccf108ac2b51da77fff5e00b722640765 (diff)
downloadtor-10b2208d9386972b76f10c2557562b5912dd130e.tar
tor-10b2208d9386972b76f10c2557562b5912dd130e.tar.gz
Make Tor compile with no warnings with gcc4.0 on OSX
svn:r4184
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 97893c364..276c7b2fe 100644
--- a/configure.in
+++ b/configure.in
@@ -186,6 +186,11 @@ AC_CHECK_SIZEOF(long long)
AC_CHECK_SIZEOF(__int64)
AC_CHECK_SIZEOF(void *)
AC_CHECK_SIZEOF(time_t)
+AC_CHECK_SIZEOF(socklen_t, , [AC_INCLUDES_DEFAULT()
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+])
# We want to make sure that we _don't_ have a cell_t defined, like IRIX does.