From eafd83736918bc5953e4a91cf2d893e68f2da2a2 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 21 Mar 2012 00:57:14 +1030 Subject: lib/tdb: fix up run-die-during-transaction test cases on Solaris. By using a different include order, we end up with a different version of FILE_OFFSET_BITS (and probably other things) in parts of the test. The different variants get linked together, and the result is weird: the stat returns 0 size. Signed-off-by: Rusty Russell --- lib/tdb/test/run-no-lock-during-traverse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tdb/test/run-no-lock-during-traverse.c') diff --git a/lib/tdb/test/run-no-lock-during-traverse.c b/lib/tdb/test/run-no-lock-during-traverse.c index 21e6d88e9c..25d9d784bf 100644 --- a/lib/tdb/test/run-no-lock-during-traverse.c +++ b/lib/tdb/test/run-no-lock-during-traverse.c @@ -1,8 +1,8 @@ +#include "../common/tdb_private.h" #include "lock-tracking.h" #define fcntl fcntl_with_lockcheck -#include "../common/tdb_private.h" #include "../common/io.c" #include "../common/tdb.c" #include "../common/lock.c" -- cgit