[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/common
In directory moria.mit.edu:/tmp/cvs-serv27321/src/common

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

Index: util.c
===================================================================
RCS file: /home/or/cvsroot/src/common/util.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- util.c	25 Apr 2004 19:59:38 -0000	1.88
+++ util.c	25 Apr 2004 23:47:26 -0000	1.89
@@ -30,6 +30,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