More C90 compatibility fixes
[mono.git] / mono / profiler / mono-profiler-aot.c
index da8b261838e4e7ec282a0ce93a474260ca2cd4bf..ba614b4de7e0f6c55e4cd49ce7c433522f6344c1 100644 (file)
@@ -11,6 +11,7 @@
  * allowing more efficient function ordering in the AOT files.
  */
 
+#include <config.h>
 #include <mono/metadata/profiler.h>
 #include <mono/metadata/tokentype.h>
 #include <mono/metadata/tabledefs.h>
 #include <string.h>
 #include <errno.h>
 #include <stdlib.h>
+#include <glib.h>
 #include <sys/stat.h>
 
+#ifdef HOST_WIN32
+#include <direct.h>
+#endif
+
 struct _MonoProfiler {
        GHashTable *images;
 };