소스 검색

move module.h into RT_USING_MODULE

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@767 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong 15 년 전
부모
커밋
59b014b640
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/module.c

+ 1 - 1
src/module.c

@@ -16,11 +16,11 @@
 #include <rtm.h>
 #include <rtthread.h>
 
-#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))