Explorar o código

include sys/limits.h if it's found

svn:r1654
Roger Dingledine %!s(int64=21) %!d(string=hai) anos
pai
achega
bd4a776576
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/or/or.h

+ 3 - 0
src/or/or.h

@@ -34,6 +34,9 @@
 #endif
 #include "../common/torint.h"
 #include "../common/fakepoll.h"
+#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