From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: [PATCH 1/6] libxl: portiblity fixes Date: Tue, 27 Jul 2010 14:15:16 +0200 Message-ID: <201007271415.17649.Christoph.Egger@amd.com> References: <201007201831.21416.Christoph.Egger@amd.com> <201007261805.06746.Christoph.Egger@amd.com> <19533.47528.342464.491827@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_V3sTM0Ts90dQGzF" Return-path: In-Reply-To: <19533.47528.342464.491827@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org --Boundary-00=_V3sTM0Ts90dQGzF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Signed-off-by: Christoph Egger -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 --Boundary-00=_V3sTM0Ts90dQGzF Content-Type: text/x-diff; charset="iso 8859-15"; name="xen_tools_libxl1.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_tools_libxl1.diff" diff -r 3a2899ebb8e2 -r 993ee4f54b2e tools/libxl/Makefile --- a/tools/libxl/Makefile Tue Jul 27 12:24:53 2010 +0200 +++ b/tools/libxl/Makefile Tue Jul 27 13:48:38 2010 +0200 @@ -15,7 +15,7 @@ CFLAGS += -I. -fPIC CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) $(CFLAGS_libxenstore) $(CFLAGS_libblktapctl) -LIBS = $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenguest) $(LDFLAGS_libxenstore) $(LDFLAGS_libblktapctl) -lutil +LIBS = $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenguest) $(LDFLAGS_libxenstore) $(LDFLAGS_libblktapctl) $(UTIL_LIBS) LIBXL_OBJS-y = osdeps.o libxl_paths.o libxl_bootloader.o LIBXL_OBJS = flexarray.o libxl.o libxl_dom.o libxl_exec.o libxl_xshelp.o libxl_device.o libxl_internal.o xenguest.o libxl_utils.o $(LIBXL_OBJS-y) diff -r 3a2899ebb8e2 -r 993ee4f54b2e tools/libxl/libxl_bootloader.c --- a/tools/libxl/libxl_bootloader.c Tue Jul 27 12:24:53 2010 +0200 +++ b/tools/libxl/libxl_bootloader.c Tue Jul 27 13:48:38 2010 +0200 @@ -15,9 +15,16 @@ #include "libxl_osdeps.h" #include -#include #include #include +#include +#if defined(__NetBSD__) || defined(__OpenBSD__) +#include +#elif defined(__linux__) +#include +#elif defined(__sun__) +#include +#endif #include #include --Boundary-00=_V3sTM0Ts90dQGzF 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=_V3sTM0Ts90dQGzF--