diff options
author | Allen Webb <allenwebb@google.com> | 2018-12-14 10:07:27 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-01-03 15:04:38 -0800 |
commit | 7a071bca73ca0e04f22aacb3dc26f63d5f9e2171 (patch) | |
tree | d49e8dc9f1463cf44e92af16326c170b13eb200a /fuzz | |
parent | aff8a2801d37a8e4bfc65735e134404a4e460fb1 (diff) | |
download | chrome-ec-7a071bca73ca0e04f22aacb3dc26f63d5f9e2171.tar.gz |
stdlib cleanup.
This cleanups some header includes to avoid conflicts between the ec
headers and the standard c headers.
BRANCH=None
BUG=None
TEST=make -j buildall && ./build_packages --board=veyron_minnie \
chromeos-ec && FEATURES=test emerge-veyron_minnie chromeos-ec
Change-Id: Icf9022d688fd9c749f7a5f8673755188741b40e1
Signed-off-by: Allen Webb <allenwebb@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1378906
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/usb_pd_fuzz.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fuzz/usb_pd_fuzz.c b/fuzz/usb_pd_fuzz.c index ea385de2dc..f7563bb405 100644 --- a/fuzz/usb_pd_fuzz.c +++ b/fuzz/usb_pd_fuzz.c @@ -4,6 +4,7 @@ * * Test USB PD module. */ +#define HIDE_EC_STDLIB #include "common.h" #include "task.h" #include "tcpm.h" @@ -15,6 +16,7 @@ #include <pthread.h> #include <stdlib.h> +#include <string.h> #define TASK_EVENT_FUZZ TASK_EVENT_CUSTOM(1) |