[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Backport irix compilation fix



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

Modified Files:
      Tag: tor-0_0_9-patches
	configure.in 
Log Message:
Backport irix compilation fix

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.156.2.4
retrieving revision 1.156.2.5
diff -u -d -r1.156.2.4 -r1.156.2.5
--- configure.in	3 Feb 2005 23:10:15 -0000	1.156.2.4
+++ configure.in	15 Feb 2005 00:54:28 -0000	1.156.2.5
@@ -199,6 +199,7 @@
 AC_CACHE_CHECK([whether memset(0) sets pointers to NULL], tor_cv_null_is_zero,
 [AC_RUN_IFELSE([AC_LANG_SOURCE(
 [[#include <stdlib.h>
+#include <string.h>
 int main () { char *p1,*p2; p1=NULL; memset(&p2,0,sizeof(p2));
 return memcmp(&p1,&p2,sizeof(char*))?1:0; }]])],
        [tor_cv_null_is_zero=yes],