Skip to content

Commit 8f2a05e

Browse files
Jyri Sarhakv2019i
authored andcommitted
zephyr: shell: Fix implicit declaration of function 'strtol'
Fix implicit declaration of function 'strtol' by including stdlib.h. Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
1 parent 2a96479 commit 8f2a05e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

zephyr/sof_shell.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#include <zephyr/sys/printk.h>
1313
#include <zephyr/shell/shell.h>
1414

15+
#include <stdlib.h>
16+
1517
#define SOF_TEST_INJECT_SCHED_GAP_USEC 1500
1618

1719
static int cmd_sof_test_inject_sched_gap(const struct shell *sh,

0 commit comments

Comments
 (0)