[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix xen-detect build.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1170954456 0
# Node ID 870370439fb94d219a970aa7caaf90ea9a1368ef
# Parent  6a383beedf833edded613282e534c451f30bd5f5
Fix xen-detect build.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/misc/Makefile     |    2 +-
 tools/misc/xen-detect.c |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff -r 6a383beedf83 -r 870370439fb9 tools/misc/Makefile
--- a/tools/misc/Makefile       Thu Feb 08 17:04:26 2007 +0000
+++ b/tools/misc/Makefile       Thu Feb 08 17:07:36 2007 +0000
@@ -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 -r 6a383beedf83 -r 870370439fb9 tools/misc/xen-detect.c
--- a/tools/misc/xen-detect.c   Thu Feb 08 17:04:26 2007 +0000
+++ b/tools/misc/xen-detect.c   Thu Feb 08 17:07:36 2007 +0000
@@ -26,6 +26,7 @@
 
 #include <stdint.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/wait.h>

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.