Skip to content

Commit 0f1bcb8

Browse files
committed
fix dlmodule.h include
1 parent c610792 commit 0f1bcb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/defunct.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ void rt_defunct_execute(void)
7575
void (*cleanup)(struct rt_thread *tid);
7676

7777
#ifdef RT_USING_MODULE
78+
#include <dlmodule.h>
7879
struct rt_dlmodule *module = RT_NULL;
7980
#endif
8081
/* get defunct thread */
@@ -85,6 +86,7 @@ void rt_defunct_execute(void)
8586
}
8687

8788
#ifdef RT_USING_MODULE
89+
#include <dlmodule.h>
8890
module = (struct rt_dlmodule *)thread->parent.module_id;
8991
if (module)
9092
{

0 commit comments

Comments
 (0)