* src/native/vm/reflect.c [ENABLE_ANNOTATIONS]: Fixed includes.
authorMichael Starzinger <michi@complang.tuwien.ac.at>
Mon, 1 Oct 2007 20:22:47 +0000 (22:22 +0200)
committerMichael Starzinger <michi@complang.tuwien.ac.at>
Mon, 1 Oct 2007 20:22:47 +0000 (22:22 +0200)
src/native/vm/reflect.c

index 6618f6134abac3e97a973f7dd5ce24afc34ed95c..7efe5010ee043e796b64db72891ec3b8bd8d363d 100644 (file)
 
 #include <stdint.h>
 
-#if defined(ENABLE_ANNOTATIONS)
-#include "mm/memory.h"
-
-#if defined(WITH_CLASSPATH_GNU)
-#include "vm/vm.h"
-
-#include "native/include/sun_reflect_ConstantPool.h"
-#endif
-#endif
-
 #include "native/jni.h"
 #include "native/llni.h"
 #include "native/native.h"
 #include "native/include/java_lang_reflect_Field.h"
 #include "native/include/java_lang_reflect_Method.h"
 
+#if defined(ENABLE_ANNOTATIONS) && defined(WITH_CLASSPATH_GNU)
+# include "vm/vm.h"
+# include "native/include/sun_reflect_ConstantPool.h"
+#endif
+
 #include "native/vm/reflect.h"
 
 #include "vm/builtin.h"