From: Ian Campbell Date: Mon, 21 Mar 2011 17:39:41 +0000 (+0000) Subject: libxc: remove dependency on xenstore headers. X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dc9c2d4e3174bf50baf20e05e70c5c3e9815edff;p=xen.git libxc: remove dependency on xenstore headers. xc_offline_page doesn't really need xs.h. Signed-off-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Jackson --- diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index e75500145d..07156118ad 100644 --- a/tools/libxc/Makefile +++ b/tools/libxc/Makefile @@ -68,7 +68,7 @@ OSDEP_SRCS-y += xenctrl_osdep_ENOSYS.c -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 --git a/tools/libxc/xc_offline_page.c b/tools/libxc/xc_offline_page.c index ad8e24cf37..089a361440 100644 --- a/tools/libxc/xc_offline_page.c +++ b/tools/libxc/xc_offline_page.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include "xc_private.h"