testsuite: Ifdef an include
shell.h must be included only if CONFIG_SHELL is defined, otherwise this will pull unused code. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
fdae5305f4
commit
3bdf426707
1 changed files with 2 additions and 0 deletions
|
@ -12,7 +12,9 @@
|
|||
#include <zephyr.h>
|
||||
|
||||
#include <string.h>
|
||||
#ifdef CONFIG_SHELL
|
||||
#include <shell/shell.h>
|
||||
#endif
|
||||
#include <sys/printk.h>
|
||||
|
||||
#if defined CONFIG_ZTEST_TC_UTIL_USER_OVERRIDE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue