summaryrefslogtreecommitdiff
path: root/bsp/efm32/application.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/efm32/application.c')
-rw-r--r--bsp/efm32/application.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/bsp/efm32/application.c b/bsp/efm32/application.c
index 332dcc6ba8..5f2ad9866c 100644
--- a/bsp/efm32/application.c
+++ b/bsp/efm32/application.c
@@ -65,10 +65,18 @@
#include <rtgui/widgets/box.h>
#include <rtgui/image.h>
-#if defined(RTGUI_USING_DFS_FILERW)
+ #if defined(RTGUI_USING_DFS_FILERW)
#include <dfs_posix.h>
#define PATH_SEPARATOR '/'
#endif
+#if defined(RTGUI_USING_DFS_FILERW)
+#include <dfs_file.h>
+#include <unistd.h>
+#include <stdio.h>
+#include <sys/stat.h>
+#include <sys/statfs.h>
+#define PATH_SEPARATOR '/'
+#endif
#endif
/* Private typedef -----------------------------------------------------------*/