summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_mem_cache.c2
-rw-r--r--test/test_phys.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/test/test_mem_cache.c b/test/test_mem_cache.c
index 518dc09..eaa043a 100644
--- a/test/test_mem_cache.c
+++ b/test/test_mem_cache.c
@@ -34,7 +34,7 @@
#include "../error.c"
#include "../avltree.c"
-#ifdef CONFIG_MEM_USE_PHYS
+#if CONFIG_MEM_USE_PHYS
#include "../phys.c"
#endif /* CONFIG_MEM_USE_PHYS */
diff --git a/test/test_phys.c b/test/test_phys.c
index d9ad154..5ded8d5 100644
--- a/test/test_phys.c
+++ b/test/test_phys.c
@@ -27,6 +27,7 @@
#include <stddef.h>
#include <string.h>
+#include "../error.c"
#include "../phys.c"
int