From nobody Sun May 5 08:44:35 2024 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=1587152435; cv=none; d=zohomail.com; s=zohoarc; b=LaRrHqB+y0+qVaQkt0CQ6Z4EYUTQRlm9/LKB3xQK/McMCWYUvEL0O1gnfO4jxyXQhh5kOHI2yVrW6hze/yDUWydCPfktkk/MEVM59wHO0XqpVc4GygBgu6BPG7ooJa2JKm3/JkmCPfOCXLQkMug3hAH4ilYh+mdZgbBPhMmjNeU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587152435; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=cNfJgf9YvGFGk2pQfp8zBQCTo1tbVO5LQ4VNhHhR0uY=; b=ZT9xVgT6+UfUcapRqcAesgQjmPN03LkFt3sxGHLMA409OD1YVsWf+ftTgWbZQXm6170UHB5rNnfsd4cVI4ooREUK1xW2Z4u7VgZsojctS69N5ahuqa4mIvXeWQw++5dG2JaMHmVqvCZtTRJSAVhvMc/fbdR2/npxraK4c4Cdjnk= 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 1587152435709222.53034193626854; Fri, 17 Apr 2020 12:40:35 -0700 (PDT) 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-346-rx5j-woPM9ql0hmvEO6c1A-1; Fri, 17 Apr 2020 15:40:29 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 251F8800D5C; Fri, 17 Apr 2020 19:40:23 +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 74D1E5D9CA; Fri, 17 Apr 2020 19:40:20 +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 D2BD293393; Fri, 17 Apr 2020 19:40:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03HJeD1n027960 for ; Fri, 17 Apr 2020 15:40:13 -0400 Received: by smtp.corp.redhat.com (Postfix) id 77FE25DA7C; Fri, 17 Apr 2020 19:40:13 +0000 (UTC) Received: from rein.int.mamuti.net (unknown [10.40.192.249]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 481A95DA7B for ; Fri, 17 Apr 2020 19:40:10 +0000 (UTC) Received: by rein.int.mamuti.net (Postfix, from userid 500) id 5EE4C180692; Fri, 17 Apr 2020 21:39:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587152434; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=cNfJgf9YvGFGk2pQfp8zBQCTo1tbVO5LQ4VNhHhR0uY=; b=OibsiZU1l6v+apowEMPpday/XuuYzKMOaRBh6CEO2OU+25W8WJdl4f2NSrr4P9lqBRpf3r QKYHIV4zAUNkj9TxFB1Yj6Qxfn+/NLX4islZnbvK0LYr8W2XBTKUnw68s8N7veGh+xSQOF Hb/yhqxtLzEo/o7t4wn/5RrsX0epEFI= X-MC-Unique: rx5j-woPM9ql0hmvEO6c1A-1 From: Jiri Denemark To: libvir-list@redhat.com Subject: [libvirt PATCH] util: Do not include sys/wait.h on Win32 Date: Fri, 17 Apr 2020 21:39:56 +0200 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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.79 on 10.5.11.14 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" This fixes build on mingw broken by my previous commit 36e125296a. Signed-off-by: Jiri Denemark --- Pushed. src/util/virdaemon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util/virdaemon.c b/src/util/virdaemon.c index 6182ca3c21..31cc24e703 100644 --- a/src/util/virdaemon.c +++ b/src/util/virdaemon.c @@ -22,7 +22,9 @@ =20 #include #include -#include +#ifndef WIN32 +# include +#endif #include #include #include --=20 2.26.1