From: Ian Campbell Subject: [PATCH 01 of 30] libxc: remove dependency on xenstore headers Date: Mon, 21 Mar 2011 14:44:24 +0000 Message-ID: <2114c80da2bd0a0181db.1300718664@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Ian Campbell # Date 1300718505 0 # Node ID 2114c80da2bd0a0181dba45e53c113e968a37f0e # Parent 317a509c1f243d33327614e480281af21f7c479b libxc: remove dependency on xenstore headers. xc_offline_page doesn't really need xs.h. Signed-off-by: Ian Campbell diff -r 317a509c1f24 -r 2114c80da2bd tools/libxc/Makefile --- a/tools/libxc/Makefile Mon Mar 21 14:41:45 2011 +0000 +++ b/tools/libxc/Makefile Mon Mar 21 14:41:45 2011 +0000 @@ -68,7 +68,7 @@ OSDEP_SRCS-y += xenctrl_ -include $(XEN_TARGET_ARCH)/Makefile CFLAGS += -Werror -Wmissing-prototypes -CFLAGS += $(INCLUDES) -I. -I../xenstore -I../include +CFLAGS += $(INCLUDES) -I. -I../include # Needed for posix_fadvise64() in xc_linux.c CFLAGS-$(CONFIG_Linux) += -D_GNU_SOURCE diff -r 317a509c1f24 -r 2114c80da2bd tools/libxc/xc_offline_page.c --- a/tools/libxc/xc_offline_page.c Mon Mar 21 14:41:45 2011 +0000 +++ b/tools/libxc/xc_offline_page.c Mon Mar 21 14:41:45 2011 +0000 @@ -26,7 +26,6 @@ #include #include #include -#include #include #include "xc_private.h"