Sfoglia il codice sorgente

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

svn:r1653
Roger Dingledine 21 anni fa
parent
commit
a54ded2879
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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