Browse Source

util.c uses LONG_MAX, needs another include on fbsd 5.x

svn:r1653
Roger Dingledine 21 years ago
parent
commit
a54ded2879
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/common/util.c

+ 3 - 0
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