OSDN Git Service

Fix jeffhao's build breakage by not including unnecessary header files.
authorBen Cheng <bccheng@google.com>
Fri, 21 Aug 2009 23:18:46 +0000 (16:18 -0700)
committerBen Cheng <bccheng@google.com>
Fri, 21 Aug 2009 23:18:46 +0000 (16:18 -0700)
vm/Thread.c

index 7c9df3e..e4de664 100644 (file)
@@ -19,7 +19,6 @@
  */
 #include "Dalvik.h"
 
-#include "interp/Jit.h"         // need for self verification
 #include "utils/threads.h"      // need Android thread priorities
 
 #include <stdlib.h>
 #include <sys/prctl.h>
 #endif
 
+#if defined(WITH_SELF_VERIFICATION)
+#include "interp/Jit.h"         // need for self verification
+#endif
+
+
 /* desktop Linux needs a little help with gettid() */
 #if defined(HAVE_GETTID) && !defined(HAVE_ANDROID_OS)
 #define __KERNEL__