[or-cvs] Make Tor compile with no warnings with gcc4.0 on OSX

Nick Mathewson nickm at seul.org
Sat May 7 05:55:08 UTC 2005


Update of /home/or/cvsroot/tor
In directory moria.mit.edu:/tmp/cvs-serv25012

Modified Files:
	configure.in 
Log Message:
Make Tor compile with no warnings with gcc4.0 on OSX

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- configure.in	3 May 2005 00:37:25 -0000	1.188
+++ configure.in	7 May 2005 05:55:05 -0000	1.189
@@ -186,6 +186,11 @@
 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.
 



More information about the tor-commits mailing list