aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-02-08 17:07:36 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-02-08 17:07:36 +0000
commitc68414307be76e655696398f1ed72466c1e4b869 (patch)
treea8c319d17f4e6dd1e96e35da1f8d354898dbcf40
parentd4a9cc151365ad63cb2100e5b768319bf498312a (diff)
downloadxen-c68414307be76e655696398f1ed72466c1e4b869.tar.gz
xen-c68414307be76e655696398f1ed72466c1e4b869.tar.bz2
xen-c68414307be76e655696398f1ed72466c1e4b869.zip
Fix xen-detect build.
Signed-off-by: Keir Fraser <keir@xensource.com>
-rw-r--r--tools/misc/Makefile2
-rw-r--r--tools/misc/xen-detect.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/misc/Makefile b/tools/misc/Makefile
index 494ebc95ec..dce732f273 100644
--- a/tools/misc/Makefile
+++ b/tools/misc/Makefile
@@ -41,5 +41,5 @@ clean:
%.o: %.c $(HDRS) Makefile
$(CC) -c $(CFLAGS) -o $@ $<
-$(TARGETS): %: %.o Makefile
+xenperf xc_shadow: %: %.o Makefile
$(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxenctrl
diff --git a/tools/misc/xen-detect.c b/tools/misc/xen-detect.c
index 6ac23f4453..c918945f81 100644
--- a/tools/misc/xen-detect.c
+++ b/tools/misc/xen-detect.c
@@ -26,6 +26,7 @@
#include <stdint.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>