All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [patch] Make qemu-nbd compile on OS X
@ 2008-06-02 17:44 ` C.W. Betts
  2008-06-02 18:21   ` Laurent Vivier
  0 siblings, 1 reply; 5+ messages in thread
From: C.W. Betts @ 2008-06-02 17:44 UTC (permalink / raw)
  To: qemu-devel

The following is a patch to make qemu-nbd compile on Mac OS X Leopard  
(any other versions are untested)

Index: qemu-nbd.c
===================================================================
--- qemu-nbd.c	(revision 4654)
+++ qemu-nbd.c	(working copy)
@@ -21,7 +21,11 @@
  #include "block_int.h"
  #include "nbd.h"

+#ifdef __APPLE__
+#include <malloc/malloc.h>
+#else
  #include <malloc.h>
+#endif
  #include <stdarg.h>
  #include <stdio.h>
  #include <getopt.h>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-02 21:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-02 17:44 [Qemu-devel] [patch] Make qemu-nbd compile on OS X C.W. Betts
2008-06-02 17:44 ` C.W. Betts
2008-06-02 18:21   ` Laurent Vivier
2008-06-02 17:54 ` Daniel P. Berrange
2008-06-02 18:34   ` Laurent Vivier
2008-06-02 21:12   ` M. Warner Losh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.