[or-cvs] Check for machine/limits.h in addition to sys/limits.h

Nick Mathewson nickm at seul.org
Sun Apr 25 23:47:28 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv27321/src/or

Modified Files:
	or.h 
Log Message:
Check for machine/limits.h in addition to sys/limits.h

Index: or.h
===================================================================
RCS file: /home/or/cvsroot/src/or/or.h,v
retrieving revision 1.325
retrieving revision 1.326
diff -u -d -r1.325 -r1.326
--- or.h	25 Apr 2004 21:32:04 -0000	1.325
+++ or.h	25 Apr 2004 23:47:26 -0000	1.326
@@ -37,6 +37,9 @@
 #ifdef HAVE_SYS_LIMITS_H
 #include <sys/limits.h>
 #endif
+#ifdef HAVE_MACHINE_LIMITS_H
+#include <machine/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