mirror of https://github.com/thesofproject/sof.git
fuzzer: fix build as with header order and ARRAY_SIZE redefinition
ARRAY_SIZE was being redefined, simplest option is to remove, but I think this code has to additionally be compiled with external Fuzzer. Fix build. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
517ad95d51
commit
e79d5d1f8e
|
@ -30,7 +30,9 @@
|
|||
#define IRQ_WAKE_THREAD 1
|
||||
#define IRQ_HANDLED 2
|
||||
|
||||
#ifndef ARRAY_SIZE
|
||||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
|
||||
#endif
|
||||
|
||||
struct fuzz;
|
||||
struct fuzz_platform;
|
||||
|
|
|
@ -13,12 +13,13 @@
|
|||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include "../fuzzer/fuzzer.h"
|
||||
#include <ipc/topology.h>
|
||||
#include <ipc/stream.h>
|
||||
#include <sof/common.h>
|
||||
#include <tplg_parser/topology.h>
|
||||
|
||||
#include "../fuzzer/fuzzer.h"
|
||||
|
||||
const struct sof_dai_types sof_dais[] = {
|
||||
{"SSP", SOF_DAI_INTEL_SSP},
|
||||
{"HDA", SOF_DAI_INTEL_HDA},
|
||||
|
|
Loading…
Reference in New Issue