container_of: fix compile failed cause of list.h not support container_of

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2024-10-18 13:33:10 +08:00 committed by Xiang Xiao
parent 5c09516a4b
commit 662bbeb33e
3 changed files with 3 additions and 0 deletions

View file

@ -26,6 +26,7 @@
#include <errno.h>
#include <stdio.h>
#include <nuttx/nuttx.h>
#include <nuttx/crc16.h>
#include <nuttx/kmalloc.h>
#include <nuttx/kthread.h>

View file

@ -28,6 +28,7 @@
#include <errno.h>
#include <stdio.h>
#include <nuttx/nuttx.h>
#include <nuttx/board.h>
#include <nuttx/drivers/addrenv.h>
#include <nuttx/pci/pci_ivshmem.h>

View file

@ -25,6 +25,7 @@
#include <debug.h>
#include <errno.h>
#include <nuttx/nuttx.h>
#include <nuttx/spinlock.h>
#include <nuttx/virtio/virtio.h>