Browse Source

[fix] fix dlmodule compile 'SEEK_END' undeclared eror (#5909)

陈迎春 3 years ago
parent
commit
f977f07ddf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components/libc/posix/libdl/dlmodule.c

+ 1 - 0
components/libc/posix/libdl/dlmodule.c

@@ -15,6 +15,7 @@
 #include "dlelf.h"
 #include "dlelf.h"
 
 
 #ifdef RT_USING_POSIX_FS
 #ifdef RT_USING_POSIX_FS
+#include <stdio.h>
 #include <fcntl.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <sys/stat.h>
 #include <sys/stat.h>