diff --git a/src/hyperv/hyperv_driver.c b/src/hyperv/hyperv_driver.c index 7db6802a55..2ac30fa4c6 100644 --- a/src/hyperv/hyperv_driver.c +++ b/src/hyperv/hyperv_driver.c @@ -34,7 +34,6 @@ #include "hyperv_private.h" #include "hyperv_util.h" #include "hyperv_wmi.h" -#include "openwsman.h" #include "virstring.h" #include "virkeycode.h" #include "domain_conf.h" diff --git a/src/hyperv/hyperv_private.h b/src/hyperv/hyperv_private.h index cf08bf542b..b31cb616af 100644 --- a/src/hyperv/hyperv_private.h +++ b/src/hyperv/hyperv_private.h @@ -22,10 +22,11 @@ #pragma once +#include + #include "internal.h" #include "virerror.h" #include "hyperv_util.h" -#include "openwsman.h" #include "capabilities.h" typedef enum _hypervWmiVersion hypervWmiVersion; diff --git a/src/hyperv/hyperv_wmi.c b/src/hyperv/hyperv_wmi.c index 6d0445184a..2b40e72053 100644 --- a/src/hyperv/hyperv_wmi.c +++ b/src/hyperv/hyperv_wmi.c @@ -24,7 +24,10 @@ */ #include + #include +#include +#include #include "internal.h" #include "virerror.h" @@ -35,7 +38,6 @@ #include "hyperv_private.h" #include "hyperv_wmi.h" #include "virstring.h" -#include "openwsman.h" #include "virlog.h" #include "virxml.h" diff --git a/src/hyperv/hyperv_wmi.h b/src/hyperv/hyperv_wmi.h index 8c9c5ed9c1..ee16657768 100644 --- a/src/hyperv/hyperv_wmi.h +++ b/src/hyperv/hyperv_wmi.h @@ -26,7 +26,6 @@ #include "virbuffer.h" #include "hyperv_private.h" #include "hyperv_wmi_classes.h" -#include "openwsman.h" #include "virhash.h" diff --git a/src/hyperv/hyperv_wmi_classes.h b/src/hyperv/hyperv_wmi_classes.h index 7465684d6e..d32711589a 100644 --- a/src/hyperv/hyperv_wmi_classes.h +++ b/src/hyperv/hyperv_wmi_classes.h @@ -23,8 +23,9 @@ #pragma once +#include + #include "internal.h" -#include "openwsman.h" #include "hyperv_wmi_classes.generated.typedef" diff --git a/src/hyperv/openwsman.h b/src/hyperv/openwsman.h deleted file mode 100644 index c59c450ea6..0000000000 --- a/src/hyperv/openwsman.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * openwsman.h: workarounds for bugs in openwsman - * - * Copyright (C) 2011 Matthias Bolte - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library. If not, see - * . - * - */ - -#pragma once - -#include - -/* wsman-xml.h */ -WsXmlDocH ws_xml_create_doc(const char *rootNsUri, const char *rootName); - -/* wsman-xml-binding.h */ -WsXmlNodeH xml_parser_get_root(WsXmlDocH doc);