[Libvirt-cim] [PATCH] Fix include path
Chip Vincent
cvincent at linux.vnet.ibm.com
Tue Nov 15 14:21:23 UTC 2011
Yep. Good catch. +1 and pushed.
Thanks.
On 11/07/2011 08:07 AM, Eduardo Lima (Etrunko) wrote:
> From: Eduardo Lima (Etrunko)<eblima at br.ibm.com>
>
> $(top_builddir) is intended to be used for install paths, while $(top_srcdir)
> whenever trying to reference source code path.
>
> Signed-off-by: Eduardo Lima (Etrunko)<eblima at br.ibm.com>
> ---
> src/Makefile.am | 2 +-
> src/Virt_VSMigrationService.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 53e3c65..e4e8aa1 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -29,7 +29,7 @@ noinst_HEADERS = profiles.h svpc_types.h \
>
> XKUADD = $(top_builddir)/libxkutil/libxkutil.la
>
> -CFLAGS += -I$(top_builddir)/libxkutil $(CFLAGS_STRICT)
> +CFLAGS += -I$(top_srcdir)/libxkutil $(CFLAGS_STRICT)
>
> AM_LDFLAGS = $(XKUADD) \
> -version-info @VERSION_INFO@
> diff --git a/src/Virt_VSMigrationService.c b/src/Virt_VSMigrationService.c
> index be9bb7c..4f48a68 100644
> --- a/src/Virt_VSMigrationService.c
> +++ b/src/Virt_VSMigrationService.c
> @@ -48,7 +48,7 @@
> #include "Virt_ComputerSystem.h"
> #include "Virt_VSMigrationSettingData.h"
> #include "svpc_types.h"
> -#include "libxkutil/infostore.h"
> +#include "infostore.h"
>
> #include "config.h"
>
--
Chip Vincent
Open Virtualization
IBM Linux Technology Center
cvincent at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list