diff --git a/platforms/nuttx/src/px4/common/cdc_acm_check.cpp b/platforms/nuttx/src/px4/common/cdc_acm_check.cpp index 14c0b560b6..081205556e 100644 --- a/platforms/nuttx/src/px4/common/cdc_acm_check.cpp +++ b/platforms/nuttx/src/px4/common/cdc_acm_check.cpp @@ -35,6 +35,7 @@ #if defined(CONFIG_SYSTEM_CDCACM) __BEGIN_DECLS +#include #include #include #include @@ -42,6 +43,7 @@ __BEGIN_DECLS #include #include +#include extern int sercon_main(int c, char **argv); extern int serdis_main(int c, char **argv);