[metadata] Fix Windows gcc build break
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 9 Jun 2016 00:53:26 +0000 (02:53 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 9 Jun 2016 00:53:48 +0000 (02:53 +0200)
After 680fe21e6952ba6dc73ad89095b34ebb3a9bfc86 it failed with:

```
coree.c: In function '_CorExeMain':
coree.c:200:2: error: implicit declaration of function 'mono_runtime_run_main_checked' [-Werror=implicit-function-declaration]
  mono_runtime_run_main_checked (method, argc, argv, &error);
  ^
[...]
Makefile:2137: recipe for target 'libmonoruntime_la-coree.lo' failed
make[3]: *** [libmonoruntime_la-coree.lo] Error 1
```

mono/metadata/coree.c

index f0e2f0d58c8fcbf1fdc89d337f116e67a0376762..8c18b9427809ec12e8a997946853620e4073054c 100644 (file)
@@ -23,6 +23,7 @@
 #include "domain-internals.h"
 #include "appdomain.h"
 #include "object.h"
+#include "object-internals.h"
 #include "loader.h"
 #include "threads.h"
 #include "environment.h"