qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] patch for compilation on OS X


From: Joshua Root
Subject: [Qemu-devel] patch for compilation on OS X
Date: Sun, 14 Nov 2004 13:28:53 +1100

Below is a trivial patch which allows the current qemu CVS (i386-softmmu at least) to compile on Mac OS X. I don't think it will break other platforms, but I have no way of testing that hypothesis.

Cheers,
Josh

Index: exec.c
===================================================================
RCS file: /cvsroot/qemu/qemu/exec.c,v
retrieving revision 1.51
diff -u -d -b -w -r1.51 exec.c
--- exec.c      10 Oct 2004 15:14:19 -0000      1.51
+++ exec.c      14 Nov 2004 02:27:40 -0000
@@ -21,6 +21,7 @@
 #ifdef _WIN32
 #include <windows.h>
 #else
+#include <sys/types.h>
 #include <sys/mman.h>
 #endif
 #include <stdlib.h>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]