瀏覽代碼

fix: 修正esp32在luadb.c的编译报错

Wendal Chen 4 年之前
父節點
當前提交
757ce937e6
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      luat/vfs/luat_fs_luadb.c

+ 2 - 0
luat/vfs/luat_fs_luadb.c

@@ -473,6 +473,8 @@ const struct luat_vfs_filesystem vfs_fs_luadb = {
 };
 #endif
 
+#include "luat_crypto.h"
+
 int luat_luadb_checkfile(const char* path) {
     size_t binsize = luat_fs_fsize(path);
     uint8_t* binbuff = (uint8_t*)luat_heap_malloc(binsize * sizeof(uint8_t));