[or-cvs] util.c needs ctype.h for tolower and isspace

Roger Dingledine arma at seul.org
Mon Nov 1 21:54:14 UTC 2004


Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/common

Modified Files:
	util.c 
Log Message:
util.c needs ctype.h for tolower and isspace


Index: util.c
===================================================================
RCS file: /home/or/cvsroot/src/common/util.c,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -d -r1.161 -r1.162
--- util.c	1 Nov 2004 20:41:47 -0000	1.161
+++ util.c	1 Nov 2004 21:54:12 -0000	1.162
@@ -23,6 +23,9 @@
 #include <windows.h>
 #endif
 
+#ifdef HAVE_CTYPE_H
+#include <ctype.h>
+#endif
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>



More information about the tor-commits mailing list