mm/shm: Fix several build errors with shm due to missing headers

This commit is contained in:
Ville Juven 2022-11-16 14:30:18 +02:00 committed by Xiang Xiao
parent e047ca6011
commit 192a639f8f
5 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include <nuttx/config.h>
#include <assert.h>
#include <debug.h>
#include <errno.h>
#include <nuttx/addrenv.h>

View File

@ -26,6 +26,7 @@
#include <sys/shm.h>
#include <assert.h>
#include <debug.h>
#include <errno.h>
#include <nuttx/sched.h>

View File

@ -31,6 +31,7 @@
#include <time.h>
#include <errno.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/mm/shm.h>
#include <nuttx/pgalloc.h>

View File

@ -26,11 +26,13 @@
#include <sys/shm.h>
#include <assert.h>
#include <debug.h>
#include <errno.h>
#include <nuttx/arch.h>
#include <nuttx/sched.h>
#include <nuttx/mm/shm.h>
#include <nuttx/pgalloc.h>
#include "shm/shm.h"

View File

@ -28,6 +28,7 @@
#include <sys/ipc.h>
#include <unistd.h>
#include <string.h>
#include <debug.h>
#include <errno.h>
#include <nuttx/pgalloc.h>