diff options
author | Allen Webb <allenwebb@google.com> | 2018-09-11 15:57:59 -0700 |
---|---|---|
committer | Manoj Gupta <manojgupta@chromium.org> | 2018-09-12 23:19:11 +0000 |
commit | a10e8b901a45153a2367ac4dcb34b5d7117e2a3a (patch) | |
tree | d439068b27f13d58f078cda6e311d9558f2a319a /fuzz | |
parent | 170a177c7a840a5074e073c80d872b967f37c161 (diff) | |
download | chrome-ec-a10e8b901a45153a2367ac4dcb34b5d7117e2a3a.tar.gz |
cr50_fuzz: Add missing include and define.
A change in a parent commit broke the build for this commit. Adding
an include for cstring and #define HIDE_EC_STDLIB resolves the header conflict.
BUG=chromium:883080
TEST=make -j buildfuzztests
Change-Id: Icf584a6050519c7a3b8f7defb7685c9c64f7a145
Signed-off-by: Allen Webb <allenwebb@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1220390
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/cr50_fuzz.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fuzz/cr50_fuzz.cc b/fuzz/cr50_fuzz.cc index dc4220afb8..1c7e815f1b 100644 --- a/fuzz/cr50_fuzz.cc +++ b/fuzz/cr50_fuzz.cc @@ -9,8 +9,10 @@ #include <cstdint> #include <cstdlib> +#include <cstring> extern "C" { +#define HIDE_EC_STDLIB #include "fuzz_config.h" #include "nvmem.h" #include "nvmem_vars.h" |