From: Juergen Gross Date: Fri, 28 Aug 2020 15:07:32 +0000 (+0200) Subject: tools/xcutils: use official headers in readnotes X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=725588cfd11443689a40db4bf31e71b974ff5555;p=people%2Fsstabellini%2Fxen-unstable.git%2F.git tools/xcutils: use official headers in readnotes readnotes.c is including xg_private.h. Now that the xenctrl headers are structured better this is no longer needed. Signed-off-by: Juergen Gross Acked-by: Wei Liu --- diff --git a/tools/xcutils/Makefile b/tools/xcutils/Makefile index 2811893980..82d42624c8 100644 --- a/tools/xcutils/Makefile +++ b/tools/xcutils/Makefile @@ -15,8 +15,7 @@ PROGRAMS = readnotes lsevtchn CFLAGS += -Werror -# incorrectly uses libxc internals -CFLAGS_readnotes.o := $(CFLAGS_libxenevtchn) $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) -I$(XEN_ROOT)/tools/libxc $(CFLAGS_libxencall) +CFLAGS_readnotes.o := $(CFLAGS_libxenevtchn) $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) CFLAGS_lsevtchn.o := $(CFLAGS_libxenevtchn) $(CFLAGS_libxenctrl) .PHONY: all diff --git a/tools/xcutils/readnotes.c b/tools/xcutils/readnotes.c index a6b7358e70..ff684c7dcb 100644 --- a/tools/xcutils/readnotes.c +++ b/tools/xcutils/readnotes.c @@ -11,8 +11,9 @@ #include #include -#include -#include /* gunzip bits */ +#include +#include +#include #include