common.h: include stacktrace.h

dump_stack() is a common function for all modules, place head
file in common.h is convenient for them.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ic36c826617116f204e6e416f09b00a8a2061a93f
This commit is contained in:
Joseph Chen 2019-12-11 08:55:15 +08:00
parent 6e4be8490d
commit 9b4285f197
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ typedef volatile unsigned char vu_char;
#include <part.h>
#include <flash.h>
#include <image.h>
#include <stacktrace.h>
/* Bring in printf format macros if inttypes.h is included */
#define __STDC_FORMAT_MACROS