From nobody Mon Feb 9 14:15:02 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1579779842; cv=none; d=zohomail.com; s=zohoarc; b=iOiwMb3PgsGLGd06056+cDrcGJgZnxqXG6U0dypE6QcwwN1t/sPrawc5DY6Y4hUQwGdoNm3WdStNttFcMy8Cac/E5nfgcTjmHqCXzFo5i49lV8ybi7trRW5qSip9oyMFPSRJXGAl/yOXIAmjM6feCFLU5pclozkL+be+J4D/p00= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1579779842; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Wi8fyU57zWa+M5JGWckIgKfhFzM3SjxnqRnoicBOZ3w=; b=hlna1BlV9rRN/jIHF0laeEmEjRPT1BQ4GlSdpF4vy4gNnGoIxRwAWnTHqbvvXlF6GhHaYVYyZsi0LI8w9Nwlnik1qWT3Dl4m0j6RUYk7Mzx1W1u34rVJEAbQ9jvR+QOP5F07p5XmoiUkIi0ptcbcdIjgikhX/+0r5cusR9mSoLM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1579779842812554.3216816027538; Thu, 23 Jan 2020 03:44:02 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-384-EGNmZbxyO22Tk4w1kADP8A-1; Thu, 23 Jan 2020 06:43:57 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4DD1D800D50; Thu, 23 Jan 2020 11:43:52 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 222FD1001B2C; Thu, 23 Jan 2020 11:43:52 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id D0C0E85905; Thu, 23 Jan 2020 11:43:51 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00NBhoNU025368 for ; Thu, 23 Jan 2020 06:43:50 -0500 Received: by smtp.corp.redhat.com (Postfix) id AFF5585783; Thu, 23 Jan 2020 11:43:50 +0000 (UTC) Received: from domokun.gsslab.fab.redhat.com (unknown [10.33.8.110]) by smtp.corp.redhat.com (Postfix) with ESMTP id DF4A585759; Thu, 23 Jan 2020 11:43:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579779841; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Wi8fyU57zWa+M5JGWckIgKfhFzM3SjxnqRnoicBOZ3w=; b=Uvuj/5w975O1V+x6d+Ad9Oh4izNCviw0S4q8ICrzRaxOLvhK28WQQV6zk0U0j/KXqUMMIo qY3MJAHB5ZUOszckiyoMlU5BCwx480ytPED9ETSiDhSVjoAg++nDhFaM+pQP5e2BMUQavY 1oFx/NAPLIKh5ir4DoZrFzlzBD5VxQQ= From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 09/32] util: explicitly include windows.h Date: Thu, 23 Jan 2020 11:43:02 +0000 Message-Id: <20200123114325.3860881-10-berrange@redhat.com> In-Reply-To: <20200123114325.3860881-1-berrange@redhat.com> References: <20200123114325.3860881-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: EGNmZbxyO22Tk4w1kADP8A-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" The virProcess code relies on windows.h and is getting it indirectly via some GNULIB header fixes. This dependancy needs to be made explicit. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Pavel Hrdina --- src/util/virprocess.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util/virprocess.c b/src/util/virprocess.c index d5589daf6a..d8ee3142da 100644 --- a/src/util/virprocess.c +++ b/src/util/virprocess.c @@ -50,6 +50,11 @@ # include #endif =20 +#ifdef WIN32 +# define WIN32_LEAN_AND_MEAN +# include +#endif + #include "viratomic.h" #include "virprocess.h" #include "virerror.h" --=20 2.24.1