[or-cvs] r12931: Try to resolve bug 553 by adding a sys/time.h include to the (tor/trunk)

nickm at seul.org nickm at seul.org
Sat Dec 22 17:30:12 UTC 2007


Author: nickm
Date: 2007-12-22 12:30:12 -0500 (Sat, 22 Dec 2007)
New Revision: 12931

Modified:
   tor/trunk/
   tor/trunk/ChangeLog
   tor/trunk/configure.in
Log:
 r17340 at catbus:  nickm | 2007-12-22 12:30:07 -0500
 Try to resolve bug 553 by adding a sys/time.h include to the autoconf test for rlim_t.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r17340] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2007-12-22 11:54:33 UTC (rev 12930)
+++ tor/trunk/ChangeLog	2007-12-22 17:30:12 UTC (rev 12931)
@@ -25,6 +25,9 @@
     - Make "GETINFO/desc-annotations/id/<OR digest>" actually work.
     - Make PublishServerDescriptor default to 1, so the default doesn't
       have to change as we invent new directory protocol versions.
+    - Fix test for rlim_t on OSX 10.3: sys/resource.h doesn't want to
+      be included unless sys/time.h is already included.  Fixes
+      bug 553.  Bugfix on 0.2.0.x.
 
   o Minor features:
     - If BridgeRelay is set to 1, then the default for

Modified: tor/trunk/configure.in
===================================================================
--- tor/trunk/configure.in	2007-12-22 11:54:33 UTC (rev 12930)
+++ tor/trunk/configure.in	2007-12-22 17:30:12 UTC (rev 12931)
@@ -397,6 +397,9 @@
 [#ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
 #ifdef HAVE_SYS_RESOURCE_H
 #include <sys/resource.h>
 #endif



More information about the tor-commits mailing list