[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] util.c uses LONG_MAX, needs another include on fbsd 5.x
- To: or-cvs@freehaven.net
- Subject: [or-cvs] util.c uses LONG_MAX, needs another include on fbsd 5.x
- From: arma@seul.org (Roger Dingledine)
- Date: Sat, 17 Apr 2004 02:35:05 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Sat, 17 Apr 2004 02:35:20 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
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