Skip to content

Commit

Permalink
Fix #2: Unittest build failure after 7c7c01c
Browse files Browse the repository at this point in the history
  • Loading branch information
coderarjob committed Nov 30, 2024
1 parent 606b152 commit 06d0baf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion include/cm/cm.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <types.h>
#include <stdarg.h>
#ifdef KERNEL
#if defined(KERNEL) || defined (UNITTEST)
#include <cm/osif.h>
#include <cm/syscall.h>
#else
Expand Down
2 changes: 1 addition & 1 deletion include/cm/err.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

#include <stdint.h>
#ifdef KERNEL
#if defined(KERNEL) || defined (UNITTEST)
#include <cm/debug.h>
#include <cm/syscall.h>
#include <cm/osif.h>
Expand Down
2 changes: 1 addition & 1 deletion include/cm/graphics.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#pragma once

#include <types.h>
#ifdef KERNEL
#if defined(KERNEL) || defined (UNITTEST)
#include <cm/osif.h>
#else
#include <osif.h>
Expand Down
5 changes: 1 addition & 4 deletions include/cm/syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
#pragma once

#include <types.h>
// App library is built with the with Kernel flags and kernel include directories. Whereas when
// applications will include this header (either directly or indirectly) the include path will
// differ, thus this change in the way applib headers are included here.
#ifdef KERNEL
#if defined(KERNEL) || defined (UNITTEST)
#include <cm/osif.h>
#else
#include <osif.h>
Expand Down

0 comments on commit 06d0baf

Please sign in to comment.