summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-17 06:35:03 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-17 06:35:03 +0000
commita54ded28797eb56204214a0ba95d4e580aa8103f (patch)
treea611d0581eef657cc2146cc126b119d2e6bdf9b7
parent1e0ffab3f4e586c51d3258a6551e54eff5902ed6 (diff)
downloadtor-a54ded28797eb56204214a0ba95d4e580aa8103f.tar.gz
tor-a54ded28797eb56204214a0ba95d4e580aa8103f.zip
util.c uses LONG_MAX, needs another include on fbsd 5.x
svn:r1653
-rw-r--r--src/common/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c
index c5dd6aa97d..81c7c5ad69 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -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