From 9c57d05e441e0e14d0a77219fb5836b93a74d6ac Mon Sep 17 00:00:00 2001 From: dmlunar Date: Thu, 15 Jan 2026 11:20:43 +0200 Subject: cdl86: update tests Update tests to address compile issues. --- .gitignore | 2 ++ cdl.h | 1 + tests/basic_jmp.c | 2 ++ tests/basic_swbp.c | 4 +++- 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..79b8925 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +basic_jmp +basic_swbp diff --git a/cdl.h b/cdl.h index 5940918..30fbfb4 100644 --- a/cdl.h +++ b/cdl.h @@ -52,6 +52,7 @@ #ifndef CDL_H #define CDL_H +#include #include #include diff --git a/tests/basic_jmp.c b/tests/basic_jmp.c index e8aa85a..b7fe9fe 100644 --- a/tests/basic_jmp.c +++ b/tests/basic_jmp.c @@ -1,3 +1,5 @@ +#include + #include "cdl.h" typedef int add_t( diff --git a/tests/basic_swbp.c b/tests/basic_swbp.c index 684f71d..9c03e6a 100644 --- a/tests/basic_swbp.c +++ b/tests/basic_swbp.c @@ -1,3 +1,5 @@ +#include + #include "cdl.h" typedef int add_t( @@ -49,4 +51,4 @@ int main( printf("add(1,1) = %i\n\n", add(1,1)); return 0; -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2