aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xcutils
diff options
context:
space:
mode:
Diffstat (limited to 'tools/xcutils')
-rw-r--r--tools/xcutils/Makefile2
-rw-r--r--tools/xcutils/xc_restore.c2
-rw-r--r--tools/xcutils/xc_save.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/xcutils/Makefile b/tools/xcutils/Makefile
index d4e0ebad0f..4397dbbf8f 100644
--- a/tools/xcutils/Makefile
+++ b/tools/xcutils/Makefile
@@ -30,7 +30,7 @@ PROG_DEP = .*.d
PROGRAMS = xc_restore xc_save
-LDLIBS = -L$(XEN_LIBXC) -lxc
+LDLIBS = -L$(XEN_LIBXC) -lxenctrl
.PHONY: all
all: build
diff --git a/tools/xcutils/xc_restore.c b/tools/xcutils/xc_restore.c
index 2eec44c40c..e3d00aa5c1 100644
--- a/tools/xcutils/xc_restore.c
+++ b/tools/xcutils/xc_restore.c
@@ -11,7 +11,7 @@
#include <stdio.h>
#include <err.h>
-#include <xc.h>
+#include <xenctrl.h>
int
main(int argc, char **argv)
diff --git a/tools/xcutils/xc_save.c b/tools/xcutils/xc_save.c
index 6ca1d5cc6c..d2b2e96be9 100644
--- a/tools/xcutils/xc_save.c
+++ b/tools/xcutils/xc_save.c
@@ -11,7 +11,7 @@
#include <stdio.h>
#include <err.h>
-#include <xc.h>
+#include <xenctrl.h>
int
main(int argc, char **argv)