include: posix: Split dirent.h from unistd.h
From POSIX http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html """ The <dirent.h> header shall define the following type: DIR ... also define the structure dirent """ etc. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
parent
260fbc4249
commit
c152ebd634
4 changed files with 39 additions and 11 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <limits.h>
|
||||
#include <posix/pthread.h>
|
||||
#include <posix/unistd.h>
|
||||
#include <posix/dirent.h>
|
||||
#include <string.h>
|
||||
|
||||
BUILD_ASSERT_MSG(PATH_MAX > MAX_FILE_NAME,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue