]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix check for NULL representation to include string.h; this makes fixes building...
authorNick Mathewson <nickm@torproject.org>
Tue, 15 Feb 2005 00:40:36 +0000 (00:40 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 15 Feb 2005 00:40:36 +0000 (00:40 +0000)
svn:r3625

configure.in

index ce4afff6b23a60f60f7ec8dd1d203b9e6786085a..efd14b7a25c98ea13b8b7e34e28c860082783416 100644 (file)
@@ -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 <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],