From: "Christoph Egger" Subject: [PATCH 2/3] Add support for OpenBSD Date: Tue, 17 Oct 2006 16:36:18 +0200 Message-ID: <200610171636.19182.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_jpONFhicqOGra8G" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_jpONFhicqOGra8G Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! The second patch handles the case of a missing stdarg.h header. John Levon told me, he needs this patch for Solaris, too. The patch contains the modification for Solaris from John Levon. Christoph --Boundary-00=_jpONFhicqOGra8G Content-Type: text/x-diff; charset=us-ascii; name=openbsd_stdarg.diff Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=openbsd_stdarg.diff diff -r bd207697f0c7 xen/common/vsprintf.c =2D-- a/xen/common/vsprintf.c Wed Oct 18 13:43:35 2006 +0100 +++ b/xen/common/vsprintf.c Tue Oct 17 16:27:03 2006 +0200 @@ -16,7 +16,7 @@ * - scnprintf and vscnprintf */ =20 =2D#include +#include #include #include #include diff -r bd207697f0c7 xen/drivers/char/console.c =2D-- a/xen/drivers/char/console.c Wed Oct 18 13:43:35 2006 +0100 +++ b/xen/drivers/char/console.c Tue Oct 17 16:27:03 2006 +0200 @@ -6,7 +6,7 @@ * Copyright (c) 2002-2004, K A Fraser. */ =20 =2D#include +#include #include #include #include diff -r bd207697f0c7 xen/include/xen/lib.h =2D-- a/xen/include/xen/lib.h Wed Oct 18 13:43:35 2006 +0100 +++ b/xen/include/xen/lib.h Tue Oct 17 16:27:03 2006 +0200 @@ -2,7 +2,7 @@ #define __LIB_H__ =20 #include =2D#include +#include #include #include #include diff -r bd207697f0c7 xen/include/xen/stdarg.h =2D-- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xen/include/xen/stdarg.h Tue Oct 17 16:27:03 2006 +0200 @@ -0,0 +1,10 @@ + + +#if defined(__OpenBSD__) || (__sun__) +# include "/usr/include/stdarg.h" +#elif defined(__linux__) +# include +#else +# error Tell me where stdarg.h is on your OS=20 +#endif + --Boundary-00=_jpONFhicqOGra8G Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_jpONFhicqOGra8G--