This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new b5a215879c drivers: Fix the missing headers.
b5a215879c is described below
commit b5a215879cdff781450fbce50dc203c5b5b8ec53
Author: [email protected] <[email protected]>
AuthorDate: Sat Nov 2 16:23:47 2024 +0800
drivers: Fix the missing headers.
This commit added the missing headers for some drivers.
Signed-off-by: [email protected] <[email protected]>
---
drivers/audio/vs1053.c | 1 +
drivers/sensors/fxos8700cq.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/drivers/audio/vs1053.c b/drivers/audio/vs1053.c
index ab18c5ca1c..4c16a05387 100644
--- a/drivers/audio/vs1053.c
+++ b/drivers/audio/vs1053.c
@@ -37,6 +37,7 @@
#include <debug.h>
#include <errno.h>
+#include <nuttx/arch.h>
#include <nuttx/kmalloc.h>
#include <nuttx/signal.h>
#include <nuttx/mqueue.h>
diff --git a/drivers/sensors/fxos8700cq.c b/drivers/sensors/fxos8700cq.c
index 41882cb93c..2f3260eaad 100644
--- a/drivers/sensors/fxos8700cq.c
+++ b/drivers/sensors/fxos8700cq.c
@@ -29,6 +29,8 @@
#include <debug.h>
#include <errno.h>
+#include <nuttx/arch.h>
+#include <nuttx/fs/fs.h>
#include <nuttx/kmalloc.h>
#include <nuttx/i2c/i2c_master.h>