[or-cvs] include sys/limits.h if it"s found

Roger Dingledine arma at seul.org
Sat Apr 17 06:35:20 UTC 2004


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

Modified Files:
	or.h 
Log Message:
include sys/limits.h if it's found


Index: or.h
===================================================================
RCS file: /home/or/cvsroot/src/or/or.h,v
retrieving revision 1.319
retrieving revision 1.320
diff -u -d -r1.319 -r1.320
--- or.h	14 Apr 2004 21:40:50 -0000	1.319
+++ or.h	17 Apr 2004 06:35:18 -0000	1.320
@@ -34,6 +34,9 @@
 #endif
 #include "../common/torint.h"
 #include "../common/fakepoll.h"
+#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