mirror of https://github.com/thesofproject/sof.git
sof/ipc/common.h: add missing #include <ipc/stream.h>
Also move system headers stdbool.h and stdint.h last to avoid them being
accidentally included.
Fixes commit b91e253f65
("include: sof: debug: Split panic.h into
Zephyr and XTOS-specific headers") that broke `scripts/fuzz.sh` because
it stopped `sof/ipc/common.h` from accidentally getting `ipc/stream.h`
through `panic.h`.
Fixes:
```
src/include/sof/ipc/common.h:126:15: warning: declaration of
'struct sof_ipc_host_buffer' will not be visible outside of
this function [-Wvisibility]
struct sof_ipc_host_buffer *ring,
^
```
```
sof/src/ipc/ipc3/host-page-table.c:151:5: error: conflicting types
for 'ipc_process_host_buffer'
int ipc_process_host_buffer(struct ipc *ipc,
^
sof/zephyr/../src/include/sof/ipc/common.h:125:5: note: previous
declaration is here:
int ipc_process_host_buffer(struct ipc *ipc,
```
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
8caa0e27a4
commit
df440ba0ba
|
@ -16,9 +16,11 @@
|
|||
#include <rtos/spinlock.h>
|
||||
#include <rtos/sof.h>
|
||||
#include <user/trace.h>
|
||||
#include <ipc/header.h>
|
||||
#include <ipc/stream.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <ipc/header.h>
|
||||
|
||||
struct dma_sg_elem_array;
|
||||
struct ipc_msg;
|
||||
|
|
Loading…
Reference in New Issue