summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-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>