summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
author陈迎春 <[email protected]>2022-05-09 09:37:17 +0800
committerGitHub <[email protected]>2022-05-09 09:37:17 +0800
commitf977f07ddfcc2f47c9e682df65e65e25918b441a (patch)
tree8038ecaa82ad90a7935d1c2c9e832d79a06c595b /components/libc
parentdf3d16294cee1152ebd1e06f1c9166904b2da8af (diff)
[fix] fix dlmodule compile 'SEEK_END' undeclared eror (#5909)
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/posix/libdl/dlmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/libc/posix/libdl/dlmodule.c b/components/libc/posix/libdl/dlmodule.c
index d7f176acbd..723c8b7b73 100644
--- a/components/libc/posix/libdl/dlmodule.c
+++ b/components/libc/posix/libdl/dlmodule.c
@@ -15,6 +15,7 @@
#include "dlelf.h"
#ifdef RT_USING_POSIX_FS
+#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>