From 213e60232f01ee09190043e41394d04bd52d092a Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 24 May 2021 17:41:49 +0800 Subject: [PATCH] Include assert.h in necessary place Signed-off-by: Xiang Xiao --- examples/foc/foc_device.c | 1 + examples/foc/foc_fixed16_thr.c | 1 + examples/foc/foc_float_thr.c | 1 + examples/foc/foc_main.c | 1 + interpreters/bas/bas_statement.c | 1 + interpreters/bas/bas_vt100.c | 1 + system/nxlooper/nxlooper.c | 1 + system/nxplayer/nxplayer.c | 1 + system/nxrecorder/nxrecorder.c | 1 + 9 files changed, 9 insertions(+) diff --git a/examples/foc/foc_device.c b/examples/foc/foc_device.c index a69460c6f..605ec67ee 100644 --- a/examples/foc/foc_device.c +++ b/examples/foc/foc_device.c @@ -26,6 +26,7 @@ #include #include +#include #include "foc_debug.h" #include "foc_device.h" diff --git a/examples/foc/foc_fixed16_thr.c b/examples/foc/foc_fixed16_thr.c index 7a7cde4e3..979b3d4b8 100644 --- a/examples/foc/foc_fixed16_thr.c +++ b/examples/foc/foc_fixed16_thr.c @@ -26,6 +26,7 @@ #include #include +#include #include diff --git a/examples/foc/foc_float_thr.c b/examples/foc/foc_float_thr.c index 003441471..143703eda 100644 --- a/examples/foc/foc_float_thr.c +++ b/examples/foc/foc_float_thr.c @@ -26,6 +26,7 @@ #include #include +#include #include diff --git a/examples/foc/foc_main.c b/examples/foc/foc_main.c index e95c43cf6..ef9ce90ed 100644 --- a/examples/foc/foc_main.c +++ b/examples/foc/foc_main.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/interpreters/bas/bas_statement.c b/interpreters/bas/bas_statement.c index 9ac2f9e93..60e1e81f0 100644 --- a/interpreters/bas/bas_statement.c +++ b/interpreters/bas/bas_statement.c @@ -64,6 +64,7 @@ #include #include +#include #include "bas_statement.h" diff --git a/interpreters/bas/bas_vt100.c b/interpreters/bas/bas_vt100.c index ccececba9..0ed1dd014 100644 --- a/interpreters/bas/bas_vt100.c +++ b/interpreters/bas/bas_vt100.c @@ -41,6 +41,7 @@ #include #include +#include #include diff --git a/system/nxlooper/nxlooper.c b/system/nxlooper/nxlooper.c index ac0d0b2ae..ae26dd698 100644 --- a/system/nxlooper/nxlooper.c +++ b/system/nxlooper/nxlooper.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include diff --git a/system/nxplayer/nxplayer.c b/system/nxplayer/nxplayer.c index fad25a02b..53ac43678 100644 --- a/system/nxplayer/nxplayer.c +++ b/system/nxplayer/nxplayer.c @@ -63,6 +63,7 @@ #include #include #include +#include #include #include #include diff --git a/system/nxrecorder/nxrecorder.c b/system/nxrecorder/nxrecorder.c index d34b722c3..fada84fa4 100644 --- a/system/nxrecorder/nxrecorder.c +++ b/system/nxrecorder/nxrecorder.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include