summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-06-11 10:19:13 +0000
committerbernard.xiong <[email protected]>2010-06-11 10:19:13 +0000
commit59b014b640fb383cd967a4d89c3fda74827c9db7 (patch)
tree01d1d8eb9d0d99c881f611d79a826a7ac9774572
parent6254665cfeeae2030652c681f28560364372d044 (diff)
move module.h into RT_USING_MODULE
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@767 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--src/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c
index e624c40d3f..fe49b71bdf 100644
--- a/src/module.c
+++ b/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))