diff --git a/src/main/common/maths.h b/src/main/common/maths.h index 19842ebb4..3e24481d4 100644 --- a/src/main/common/maths.h +++ b/src/main/common/maths.h @@ -20,6 +20,8 @@ #pragma once +#include + #ifndef sq #define sq(x) ((x)*(x)) #endif diff --git a/src/main/vcp_hal/usbd_conf.c b/src/main/vcp_hal/usbd_conf.c index 2258b1341..6c96763fb 100644 --- a/src/main/vcp_hal/usbd_conf.c +++ b/src/main/vcp_hal/usbd_conf.c @@ -46,6 +46,8 @@ */ /* Includes ------------------------------------------------------------------*/ +#include "common/maths.h" + #include "stm32f7xx_hal.h" #include "usbd_core.h" #include "usbd_desc.h"