aboutsummaryrefslogtreecommitdiff
path: root/emu
diff options
context:
space:
mode:
Diffstat (limited to 'emu')
-rw-r--r--emu/FreeRTOS/devfs-posix.c3
-rw-r--r--emu/FreeRTOS/mkfile2
2 files changed, 4 insertions, 1 deletions
diff --git a/emu/FreeRTOS/devfs-posix.c b/emu/FreeRTOS/devfs-posix.c
index 1f53ac8..958e941 100644
--- a/emu/FreeRTOS/devfs-posix.c
+++ b/emu/FreeRTOS/devfs-posix.c
@@ -15,7 +15,8 @@
#include <sys/un.h>
#endif //{}
#include <utime.h>
-#include <dirent.h>
+#include "../../libiot/vfs/include/sys/dirent.h"
+#include "../../libiot/vfs/vfs.h"
#include <stdio.h>
#define __EXTENSIONS__
#undef getwd
diff --git a/emu/FreeRTOS/mkfile b/emu/FreeRTOS/mkfile
index 88a2620..27237d5 100644
--- a/emu/FreeRTOS/mkfile
+++ b/emu/FreeRTOS/mkfile
@@ -44,6 +44,8 @@ CFLAGS='-DROOT="'$ROOT'"' -DEMU \
-I$ROOT/$SYSTARG/$OBJTYPE/include \
-I$ROOT/include \
-I$ROOT/libinterp \
+ -I$ROOT/libiot/vfs/include \
+ -I$ROOT/libiot/include \
$CTHREADFLAGS $CFLAGS $EMUOPTIONS
#SYSLIBS= $X11LIBS -lm -lpthread
SYSLIBS= -lm -lpthread