From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADFF7C433E0 for ; Wed, 13 Jan 2021 07:10:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6122123132 for ; Wed, 13 Jan 2021 07:10:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726514AbhAMHKT (ORCPT ); Wed, 13 Jan 2021 02:10:19 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:52070 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726215AbhAMHKT (ORCPT ); Wed, 13 Jan 2021 02:10:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610521732; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8eAI57pJ3zxOCZ/AfaPs/PP4XVJRFb7Zj25N+2rObR0=; b=HF4vvssKSCOQoJ3pAn99ELH0Chu+T5CIZoiZ6kDvifyn3kiyI9YDtqP8p1grnOFB4TET05 /Kk55uA0G+oxqTCvEFe8enXjIFY79tOKaDLMd1FD5zi4I9a198bnOVl1WXNEpmn56D4AWE uO2DzToI8Jw+YZQzmSMZAgFlEUFGnHU= 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-504-9ffbBb3VNLiwHuorjnBhmQ-1; Wed, 13 Jan 2021 02:08:49 -0500 X-MC-Unique: 9ffbBb3VNLiwHuorjnBhmQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BC9B7107ACF7; Wed, 13 Jan 2021 07:08:47 +0000 (UTC) Received: from thuth.remote.csb (ovpn-112-122.ams2.redhat.com [10.36.112.122]) by smtp.corp.redhat.com (Postfix) with ESMTP id A70E36F97C; Wed, 13 Jan 2021 07:08:34 +0000 (UTC) Subject: Re: [PATCH 4/9] libvhost-user: Include poll.h instead of sys/poll.h To: Jiaxun Yang , qemu-devel@nongnu.org, QEMU Trivial Cc: Kevin Wolf , Fam Zheng , kvm@vger.kernel.org, Viktor Prutyanov , Laurent Vivier , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Alistair Francis , Greg Kurz , Wainer dos Santos Moschetta , Max Reitz , qemu-ppc@nongnu.org, Paolo Bonzini , qemu-block@nongnu.org, =?UTF-8?Q?Alex_Benn=c3=a9e?= , David Gibson , =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , Stefan Hajnoczi References: <20201221005318.11866-1-jiaxun.yang@flygoat.com> <20201221005318.11866-5-jiaxun.yang@flygoat.com> From: Thomas Huth Message-ID: Date: Wed, 13 Jan 2021 08:08:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201221005318.11866-5-jiaxun.yang@flygoat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 21/12/2020 01.53, Jiaxun Yang wrote: > Musl libc complains about it's wrong usage. > > In file included from ../subprojects/libvhost-user/libvhost-user.h:20, > from ../subprojects/libvhost-user/libvhost-user-glib.h:19, > from ../subprojects/libvhost-user/libvhost-user-glib.c:15: > /usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include to [-Werror=cpp] > 1 | #warning redirecting incorrect #include to > | ^~~~~~~ > > Signed-off-by: Jiaxun Yang > --- > subprojects/libvhost-user/libvhost-user.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/subprojects/libvhost-user/libvhost-user.h b/subprojects/libvhost-user/libvhost-user.h > index 7d47f1364a..3d13dfadde 100644 > --- a/subprojects/libvhost-user/libvhost-user.h > +++ b/subprojects/libvhost-user/libvhost-user.h > @@ -17,7 +17,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include "standard-headers/linux/virtio_ring.h" > Reviewed-by: Thomas Huth