2008-07-23 Robert Jordan <robertj@gmx.net>
authorRobert Jordan <robertj@gmx.net>
Tue, 22 Jul 2008 22:25:29 +0000 (22:25 -0000)
committerRobert Jordan <robertj@gmx.net>
Tue, 22 Jul 2008 22:25:29 +0000 (22:25 -0000)
* method-to-ir.c: Fix MSVC build.

svn path=/trunk/mono/; revision=108520

mono/mini/ChangeLog
mono/mini/method-to-ir.c

index f06972e207e1b908fcec62d48204e4d927fa2665..471e51ca00375d3deae8a294ccb40495760c18ea 100644 (file)
@@ -1,3 +1,7 @@
+2008-07-23  Robert Jordan  <robertj@gmx.net>
+
+       * method-to-ir.c: Fix MSVC build.
+
 2008-07-22  Zoltan Varga  <vargaz@gmail.com>
 
        * method-to-ir.c (mono_method_to_ir2): When calling native code which returns
index b3a0e4ccb55748c9939de319fc8d5f09a7ba3ba6..5fd0309648bcb013038374209b314e0e5a9f4214 100644 (file)
 
 #include <config.h>
 #include <signal.h>
+
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
+#endif
+
 #include <math.h>
+
+#ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
+#endif
 
 #ifdef HAVE_VALGRIND_MEMCHECK_H
 #include <valgrind/memcheck.h>