You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/09/26 06:04:56 UTC
[incubator-nuttx-apps] branch master updated: Replace #include with #include
This is an automated email from the ASF dual-hosted git repository.
pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 0dc5e9f46 Replace #include <queue.h> with #include <nuttx/queue.h>
0dc5e9f46 is described below
commit 0dc5e9f469ad4174cc9af7e6f21a99d69b7cf0d3
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Sep 26 00:10:27 2022 +0800
Replace #include <queue.h> with #include <nuttx/queue.h>
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
testing/mm/mm_main.c | 3 ++-
wireless/ieee802154/i8sak/i8sak_main.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/testing/mm/mm_main.c b/testing/mm/mm_main.c
index 047079ffc..9bb471aa7 100644
--- a/testing/mm/mm_main.c
+++ b/testing/mm/mm_main.c
@@ -26,9 +26,10 @@
#include <stdlib.h>
#include <malloc.h>
#include <string.h>
-#include <queue.h>
#include <assert.h>
+#include <nuttx/queue.h>
+
/* Include nuttx/mm/mm_heap/mm.h */
#include <mm.h>
diff --git a/wireless/ieee802154/i8sak/i8sak_main.c b/wireless/ieee802154/i8sak/i8sak_main.c
index f873172a7..ed255910e 100644
--- a/wireless/ieee802154/i8sak/i8sak_main.c
+++ b/wireless/ieee802154/i8sak/i8sak_main.c
@@ -42,9 +42,10 @@
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
-#include <queue.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
+
+#include <nuttx/queue.h>
#include <nuttx/fs/ioctl.h>
#include <nuttx/wireless/ieee802154/ieee802154_mac.h>