diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-03-21 00:57:14 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-03-22 01:57:37 +0100 |
commit | eafd83736918bc5953e4a91cf2d893e68f2da2a2 (patch) | |
tree | b478ff4c7f10af225d6b972eca29339eefcea039 /lib/tdb/test/run-nested-traverse.c | |
parent | 4882a4cd68f90ee2c0808bffe114cd147e665c5c (diff) | |
download | samba-eafd83736918bc5953e4a91cf2d893e68f2da2a2.tar.gz samba-eafd83736918bc5953e4a91cf2d893e68f2da2a2.tar.bz2 samba-eafd83736918bc5953e4a91cf2d893e68f2da2a2.zip |
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 <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/tdb/test/run-nested-traverse.c')
-rw-r--r-- | lib/tdb/test/run-nested-traverse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/test/run-nested-traverse.c b/lib/tdb/test/run-nested-traverse.c index 1742b11108..83efd0d8ca 100644 --- a/lib/tdb/test/run-nested-traverse.c +++ b/lib/tdb/test/run-nested-traverse.c @@ -1,6 +1,6 @@ +#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" |