[or-cvs] util.c uses LONG_MAX, needs another include on fbsd 5.x

Roger Dingledine arma at seul.org
Sat Apr 17 06:35:05 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 uses LONG_MAX, needs another include on fbsd 5.x


Index: util.c
===================================================================
RCS file: /home/or/cvsroot/src/common/util.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- util.c	8 Apr 2004 03:05:08 -0000	1.85
+++ util.c	17 Apr 2004 06:35:03 -0000	1.86
@@ -27,6 +27,9 @@
 #ifdef HAVE_ERRNO_H
 #include <errno.h>
 #endif
+#ifdef HAVE_SYS_LIMITS_H
+#include <sys/limits.h>
+#endif
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h> /* Must be included before sys/stat.h for Ultrix */
 #endif



More information about the tor-commits mailing list