diff --git a/src/include/general.h b/src/include/general.h index e4c0093924c..027c8fdc028 100644 --- a/src/include/general.h +++ b/src/include/general.h @@ -48,7 +48,6 @@ #include #include -#include "maths_utils.h" #include "timing.h" #include "platform_support.h" #include "align.h" diff --git a/src/platforms/hosted/stlinkv2.c b/src/platforms/hosted/stlinkv2.c index 68411c97d33..e0e061c1a1c 100644 --- a/src/platforms/hosted/stlinkv2.c +++ b/src/platforms/hosted/stlinkv2.c @@ -35,6 +35,7 @@ #include "exception.h" #include "cortexm.h" #include "buffer_utils.h" +#include "maths_utils.h" #include #include diff --git a/src/target/cortexm.c b/src/target/cortexm.c index 3bb1ea8b275..6ae11a64745 100644 --- a/src/target/cortexm.c +++ b/src/target/cortexm.c @@ -42,6 +42,7 @@ #include "gdb_packet.h" #include "semihosting.h" #include "platform.h" +#include "maths_utils.h" #include #include