diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-05-07 05:55:06 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-05-07 05:55:06 +0000 |
commit | 10b2208d9386972b76f10c2557562b5912dd130e (patch) | |
tree | 007a393aff385b1cbe47ffdc4d377edb5dac9898 /configure.in | |
parent | 6567ec9ccf108ac2b51da77fff5e00b722640765 (diff) | |
download | tor-10b2208d9386972b76f10c2557562b5912dd130e.tar.gz tor-10b2208d9386972b76f10c2557562b5912dd130e.zip |
Make Tor compile with no warnings with gcc4.0 on OSX
svn:r4184
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 97893c364d..276c7b2fe4 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. |