From 94c31de49b9c668375e250109813e64f1244d396b2f28383e9066de965e1859f Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 23 Jan 2014 16:45:34 +0000 Subject: [PATCH] provide private uuid_le type to fix sles11 build OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=84 --- hyper-v.include.linux.hyperv.h | 5 ++++- hyper-v.spec | 4 ---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hyper-v.include.linux.hyperv.h b/hyper-v.include.linux.hyperv.h index 6e66087..16ffdca 100644 --- a/hyper-v.include.linux.hyperv.h +++ b/hyper-v.include.linux.hyperv.h @@ -26,7 +26,10 @@ #define _HYPERV_H #include -#include +/* from linux/uuid.h */ +typedef struct { + __u8 b[16]; +} uuid_le; /* diff --git a/hyper-v.spec b/hyper-v.spec index f6d5deb..70af620 100644 --- a/hyper-v.spec +++ b/hyper-v.spec @@ -95,7 +95,6 @@ gcc \ -DCN_VSS_IDX=0xa \ -DCN_VSS_VAL=0x1 \ -o %{hv_vss_daemon} -%if %{use_systemd} gcc \ $RPM_OPT_FLAGS \ -Wno-unused-variable \ @@ -105,7 +104,6 @@ gcc \ %{hv_fcopy_daemon}.c \ -include %{hv_kvp_daemon}.h \ -o %{hv_fcopy_daemon} -%endif %install %if %{use_systemd} @@ -118,9 +116,7 @@ mkdir -p $RPM_BUILD_ROOT${bindir} mkdir -p $RPM_BUILD_ROOT%{helper_dir}/bin install -m755 %{hv_kvp_daemon} $RPM_BUILD_ROOT${bindir} install -m755 %{hv_vss_daemon} $RPM_BUILD_ROOT${bindir} -%if %{use_systemd} install -m755 %{hv_fcopy_daemon} $RPM_BUILD_ROOT${bindir} -%endif cp -avL %{S:20} $RPM_BUILD_ROOT%{helper_dir}/bin/hv_get_dhcp_info cp -avL %{S:21} $RPM_BUILD_ROOT%{helper_dir}/bin/hv_get_dns_info cp -avL %{S:22} $RPM_BUILD_ROOT%{helper_dir}/bin/hv_set_ifconfig