patch for compilation on OS X
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
exec.c 14 Nov 2004 02:27:40 -0000 renamed from exec.c 10 Oct 2004 15:14:19 -0000 1.51 +1 -0
@@ -21,6 +21,7 @@ #ifdef _WIN32 #include <windows.h> #else +#include <sys/types.h> #include <sys/mman.h> #endif #include <stdlib.h>