From: Nick Mathewson Date: Tue, 15 Feb 2005 00:40:36 +0000 (+0000) Subject: Fix check for NULL representation to include string.h; this makes fixes building... X-Git-Tag: tor-0.1.0.1-rc~248 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6dcb17ba4e1c6f518a53d68dfb2bae0654a2dde;p=thirdparty%2Ftor.git Fix check for NULL representation to include string.h; this makes fixes building on Irix, I hope. svn:r3625 --- diff --git a/configure.in b/configure.in index ce4afff6b2..efd14b7a25 100644 --- a/configure.in +++ b/configure.in @@ -205,6 +205,7 @@ fi AC_CACHE_CHECK([whether memset(0) sets pointers to NULL], tor_cv_null_is_zero, [AC_RUN_IFELSE([AC_LANG_SOURCE( [[#include +#include 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],