From 01d3ae40df73e8996a7716538e254dd1be2141ca Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 23 May 2021 00:40:52 -0400 Subject: [PATCH] sim: bfin: add strings.h for ffs() --- sim/bfin/ChangeLog | 4 ++++ sim/bfin/dv-bfin_cec.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index c4c38436ef1..1ebf6818ac7 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,7 @@ +2021-05-23 Mike Frysinger + + * dv-bfin_cec.c: Include strings.h. + 2021-05-17 Mike Frysinger * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete. diff --git a/sim/bfin/dv-bfin_cec.c b/sim/bfin/dv-bfin_cec.c index 6179b16ad8a..e80616d15d1 100644 --- a/sim/bfin/dv-bfin_cec.c +++ b/sim/bfin/dv-bfin_cec.c @@ -21,6 +21,8 @@ /* This must come before any other includes. */ #include "defs.h" +#include + #include "sim-main.h" #include "devices.h" #include "dv-bfin_cec.h" -- 2.30.2