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

[Xen-changelog] [xen-unstable] libxl: testenum.c depends on libxl.h

# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1309966336 -3600
# Node ID d5dfaa568441bdf15d1b21e6a875fa0a003dbe1d
# Parent  7e4404a8f5f9bc111a80f15a2bce35378b39f2f1
libxl: testenum.c depends on libxl.h

testenum.c may fail to compile if libxl.h dependencies are not yet met.

In file included from testenum.c:3:
libxl.h:199:26: error: _libxl_types.h: No such file or directory
In file included from testenum.c:3:
libxl.h:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' 

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

diff -r 7e4404a8f5f9 -r d5dfaa568441 tools/libxl/Makefile
--- a/tools/libxl/Makefile      Mon Jul 04 07:57:32 2011 +0100
+++ b/tools/libxl/Makefile      Wed Jul 06 16:32:16 2011 +0100
@@ -52,7 +52,7 @@
 $(XL_OBJS): CFLAGS += $(CFLAGS_libxenlight)
 testenum.o: CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenlight)
-testenum.c: libxl.idl gentest.py
+testenum.c: libxl.idl gentest.py libxl.h
        $(PYTHON) gentest.py libxl.idl testenum.c.new
        mv testenum.c.new testenum.c

Xen-changelog mailing list



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