diff --git a/libsql-sqlite3/src/test_walapi.c b/libsql-sqlite3/src/test_walapi.c index 21a0bc5d4d..90d16cc9ff 100644 --- a/libsql-sqlite3/src/test_walapi.c +++ b/libsql-sqlite3/src/test_walapi.c @@ -1,8 +1,13 @@ #include #include +#include +#include #include #include +#define eprintf(...) fprintf(stderr, __VA_ARGS__) +#define ensure(condition, ...) { if (!(condition)) { eprintf(__VA_ARGS__); exit(1); } } + #if 0 static void dump_frame(unsigned char *frame, size_t size){ for(int addr=0; addr