From nobody Tue Feb 10 07:40:04 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1664273526; cv=none; d=zohomail.com; s=zohoarc; b=VUz9PtGR7NUzGzE7NjA6EnYcuaAx+1cgATCL++uZx5jPEB6HZMXXpUZ1SYvTVmIb5RNO3gqa0ag8EifId8Kyt5IEKW6g11fCCJ0BieKIZ4EPVoR1YoVtOEzSfpns0AdP4IO5n3XPKruBbe/a8pX9VBbgM2s4l3nZC3a4UoWvSiQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1664273526; h=Content-Type:Content-Transfer-Encoding:Cc: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=SzC1vCIIxy/AukG1I7H0YNq/Zfll4aQSjlYfrynWk/U=; b=Wi0y0Pdx2XPcwf3GxPEuRdbfZu9k4YTYgyyQPhnHyz/ggTA5Q37D/712+6Hu0tEDfJ9Q+aeiZ8TzXUm3/8yEE4r2Yh2loPacl5ullggeQry2p6F365+6yF12tn3lK4gIAaPRSD4cVvVzt0FbGxC5/jerY6tikUFAGbRv1GwJRQA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1664273526731499.52243532271575; Tue, 27 Sep 2022 03:12:06 -0700 (PDT) Received: from localhost ([::1]:46924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1od7ZN-0006sL-Oh for importer@patchew.org; Tue, 27 Sep 2022 06:12:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1od7NF-0007cX-6Z for qemu-devel@nongnu.org; Tue, 27 Sep 2022 05:59:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:59297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1od7ND-0008TQ-KU for qemu-devel@nongnu.org; Tue, 27 Sep 2022 05:59:32 -0400 Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-503-pxsfk4AdPayT0WH0Qj-dAg-1; Tue, 27 Sep 2022 05:59:29 -0400 Received: by mail-ej1-f72.google.com with SMTP id hq17-20020a1709073f1100b00782f9d252f4so2953146ejc.11 for ; Tue, 27 Sep 2022 02:59:28 -0700 (PDT) Received: from avogadro.local ([2001:b07:6468:f312:1c09:f536:3de6:228c]) by smtp.gmail.com with ESMTPSA id f20-20020a50ee94000000b004482dd03fe8sm909202edr.91.2022.09.27.02.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 02:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664272770; 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=SzC1vCIIxy/AukG1I7H0YNq/Zfll4aQSjlYfrynWk/U=; b=AuPhq0YxlouOifvbiyYGWpy4ohN3X7vloNRqaFkIuvPlnfAXZLCZqHGar/N+ILwwbU9cBU qVtcK3k2jJ78ynQx4f9NilN2Yp+6zuUTHYNcLsC72T3YK+VtjhBPMEAjIMiIqzsNpOj6mx ULbYqQgRHMRYp2NthS/MDnTGwLPcYWM= X-MC-Unique: pxsfk4AdPayT0WH0Qj-dAg-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=SzC1vCIIxy/AukG1I7H0YNq/Zfll4aQSjlYfrynWk/U=; b=qAysARIncLSpVwf+/7jBmKMmyB3gavt0P6mAj+jb1DokFVAR5wb2aK7QXght7IZLFv 2Z4z8QvfbfZwazDA9a4RtK4lsiLsbpUtDm2WZ79+IDpEgM9ql+9TVhD1nDTPGFqGbOv3 4kdPHGWDM/j5mNaLjepsni6hdN87G/Z6t/kvKmN67TIxGvss8iBoy9GkKjR2wkXcd4BY zVZ+8puI4XHdYA2F8W2b06mp7YD0SuczUY6wpK2MGejsCc0zg1Mf+Z+EDdqzvPAFH+us RjpPFYjMfoJFAM5uYO649HcUmiUYZ3cJ2JPZCBNI8jWj3l2BkqC9KYuAoiTx3tXlGy0S +ROw== X-Gm-Message-State: ACrzQf1/hQXHm9Mymghg3RA25oYJHKGVQ1TIzRfUli8sQALPrOmBi1hB eZeMaLSkLlP2dYp7g2yfmrRZr3lLfdqJ6pDvYufFUp9mmGGOidvhDOuQ9X4PXnyaHC6zYx6R9DN 92qewjDvRGupr7Y3nMwMLNGDWYl2qwmoYN1t+PYjLpz3II11Li7BmEh8+xnf0OSERLuQ= X-Received: by 2002:a05:6402:b29:b0:456:f2dc:826d with SMTP id bo9-20020a0564020b2900b00456f2dc826dmr16370744edb.94.1664272767666; Tue, 27 Sep 2022 02:59:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5bm0f2lTSg8Sy3k/O3YJ+1jhH5Wgr4jaHomFW7p3zsTT/92Q2tbUsR6o5it0a8pu5KJXj28w== X-Received: by 2002:a05:6402:b29:b0:456:f2dc:826d with SMTP id bo9-20020a0564020b2900b00456f2dc826dmr16370723edb.94.1664272767313; Tue, 27 Sep 2022 02:59:27 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: marcandre.lureau@redhat.com Subject: [PATCH 1/5] ui: fix path to dbus-display1.h Date: Tue, 27 Sep 2022 11:59:17 +0200 Message-Id: <20220927095921.261760-2-pbonzini@redhat.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220927095921.261760-1-pbonzini@redhat.com> References: <20220927095921.261760-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1664273528411100001 Content-Type: text/plain; charset="utf-8" While the source directory is always included in the include path, the corresponding directory in the build tree is not. Therefore, custom_targets (e.g. ui/dbus-display1.h) must be referred to using the full path. This avoids a build failure when ui/dbus-chardev.c is not built as a module: In file included from ../ui/dbus-chardev.c:32: ../ui/dbus.h:34:10: fatal error: dbus-display1.h: No such file or directory 34 | #include "dbus-display1.h" | ^~~~~~~~~~~~~~~~~ Signed-off-by: Paolo Bonzini Reviewed-by: Marc-Andr=C3=A9 Lureau --- tests/qtest/dbus-display-test.c | 2 +- ui/dbus.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qtest/dbus-display-test.c b/tests/qtest/dbus-display-tes= t.c index 8be5974763..cb1b62d1d1 100644 --- a/tests/qtest/dbus-display-test.c +++ b/tests/qtest/dbus-display-test.c @@ -3,7 +3,7 @@ #include #include #include "libqtest.h" -#include "dbus-display1.h" +#include "ui/dbus-display1.h" =20 static GDBusConnection* test_dbus_p2p_from_fd(int fd) diff --git a/ui/dbus.h b/ui/dbus.h index c001c11f70..9c149e7b41 100644 --- a/ui/dbus.h +++ b/ui/dbus.h @@ -31,7 +31,7 @@ #include "ui/console.h" #include "ui/clipboard.h" =20 -#include "dbus-display1.h" +#include "ui/dbus-display1.h" =20 typedef struct DBusClipboardRequest { GDBusMethodInvocation *invocation; --=20 2.37.3