diff --git a/src/module.c b/src/module.c index e624c40d3f26f3d2ffde868d0e41d0ca262206ac..fe49b71bdff9c18e7d8ddb90ab7132c843e2c7ec 100644 --- a/src/module.c +++ b/src/module.c @@ -16,11 +16,11 @@ #include #include -#include "module.h" #include "kservice.h" /* #define RT_MODULE_DEBUG */ #ifdef RT_USING_MODULE +#include "module.h" #define elf_module ((Elf32_Ehdr *)module_ptr) #define shdr ((Elf32_Shdr *)((rt_uint8_t *)module_ptr + elf_module->e_shoff))