Skip to content

Commit 96aff8a

Browse files
gmarullcarlescufi
authored andcommitted
tests: lib: custom_lib: fix includes
Test was including Kernel for nothing, and missed limits.h (likely included by Kernel) Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent b79f9e3 commit 96aff8a

File tree

1 file changed

+3
-1
lines changed
  • tests/lib/custom_lib/src

1 file changed

+3
-1
lines changed

tests/lib/custom_lib/src/main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
* library works correctly.
1212
*/
1313

14-
#include <zephyr/kernel.h>
14+
#include <limits.h>
15+
1516
#include <zephyr/ztest.h>
17+
1618
#include <custom_lib/custom_lib.h>
1719

1820
ZTEST(custom_lib, test_get_value)

0 commit comments

Comments
 (0)