r13705@catbus: nickm | 2007-07-12 11:54:41 -0400

Backport r10643: fix solaris eventdns.c behavior: we must redefine _FILE_OFFSET_BITS *before* including sys/types.


svn:r10804
This commit is contained in:
Nick Mathewson 2007-07-12 16:17:15 +00:00
parent 5de93f2670
commit 657bae5f53
2 changed files with 6 additions and 2 deletions

View File

@ -7,6 +7,11 @@ Changes in version 0.1.2.15 - 2007-0?-??
correctly. Previously, we were under-counting by 1.
- Fix a crash bug in directory authorities when we re-number the
routerlist while inserting a new router.
- Backport miscellaneous cosmetic bugfixes.
- Fix eventdns.c behavior on Solaris: It is critical to include
orconfig.h _before_ sys/types.h, so that we can get the expected
definition of _FILE_OFFSET_BITS. [Bugfix on 0.1.2.x]
Changes in version 0.1.2.14 - 2007-05-25
o Directory authority changes:

View File

@ -32,10 +32,9 @@
* Version: 0.1b
*/
#include <sys/types.h>
#include "eventdns_tor.h"
#include <sys/types.h>
//#define NDEBUG
#include "../common/torint.h"
#ifndef DNS_USE_CPU_CLOCK_FOR_ID
#ifndef DNS_USE_GETTIMEOFDAY_FOR_ID