Fix unamalgamated build

This commit is contained in:
Sergey Lyubka committed 2022-01-18 08:02:41 +00:00
1 parent 1df102ab93
commit 09df542db8
3 files changed
+4 -5

No files matched your search

+2
View File
@@ -436,6 +436,8 @@ void mg_fs_close(struct mg_fd *fd) {
#ifdef MG_ENABLE_LINES
#line 1 "src/fs_fat.c"
#endif
#if MG_ENABLE_FATFS
#include <ff.h>
-5
View File
@@ -163,11 +163,6 @@ static __inline struct tm *localtime_r(const time_t *t, struct tm *tm) {
#endif
#if defined(MG_ENABLE_FF) && MG_ENABLE_FF == 1
#include <ff.h>
#endif
#if MG_ARCH == MG_ARCH_FREERTOS_LWIP
#include <stdarg.h>
+2
View File
@@ -1,3 +1,5 @@
#include "fs.h"
#if MG_ENABLE_FATFS
#include <ff.h>