X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Ftest%2Frun-3G-file.c;h=0e24e890562f7ad8ad6e2f71006b9cb2facc7601;hp=ba858c4d59fce5afe7ce047bc2eac89fa2750e17;hb=b86f8688feef575cb0c69b964a47fa1167cde528;hpb=39357f4e89f4ac02eb11861812cbfc67b4f1d4ef diff --git a/ccan/tdb/test/run-3G-file.c b/ccan/tdb/test/run-3G-file.c index ba858c4d..0e24e890 100644 --- a/ccan/tdb/test/run-3G-file.c +++ b/ccan/tdb/test/run-3G-file.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -71,7 +72,7 @@ int main(int argc, char *argv[]) TDB_DATA key, orig_data, data; uint32_t hash; tdb_off_t rec_ptr; - struct list_struct rec; + struct tdb_record rec; plan_tests(24); tdb = tdb_open("/tmp/test.tdb", 1024, TDB_CLEAR_IF_FIRST,