From patchwork Mon Oct 5 11:44:32 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Denys Fedoryshchenko X-Patchwork-Id: 28400 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 9DE03BDCB2 for ; Mon, 5 Oct 2026 14:27:13 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 566B968A2F; Mon, 5 Oct 2026 16:27:12 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=collabora.com header.i=denys.f@collabora.com header.b="V0Ov3xYA"; dkim-atps=neutral Received: from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com [136.143.188.112]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 563F5689D8 for ; Mon, 5 Oct 2026 13:45:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; t=1791200701; cv=none; d=zohomail.com; s=zohoarc; b=inGwz8OMkvyfch7BdmeT9yuUL+rD0wPCSWNshYl/xzWu/0b9vE9OzDXXBE1U250rTCyVlfijQ4yD589z1c3RaAw9De2PevGdcPP8ahnAoE/wmhqcmJeKj/xLuBW+C5B5JPjlUjal1TbzQu7oAsqPu8w5JZKfglykmaijqY9lRW4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1791200701; h=Content-Transfer-Encoding:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=dFHkKZKPEa/wLTECI0QNNuuEL+YQ+l/LK4ZaUjST//k=; b=ZjPubi+NM6v2X0a9AX6Iz/VXLkpyesjVQnu4Wy3Njl95BWXTt7yXEiLhxdTXFEGJmL2N2atQtmRhH+mv5wEqu75OlwcvSerkarQmdo2Es0MytamEA4GPka1YCJTlQHMFBMzwqlqFDllO1LDD9ZAq2FHSTL5AvgYIWGeLwcNAtho= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=denys.f@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1791200701; s=zohomail; d=collabora.com; i=denys.f@collabora.com; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=dFHkKZKPEa/wLTECI0QNNuuEL+YQ+l/LK4ZaUjST//k=; b=V0Ov3xYAvW43/wm8B0dDdH5wUwhzWwC+UNqLlLt/4U9kUPVsWFIjSUyWVGDrsHXn j39YdVuY/U8VFYjeWlfAHPlg5YfFFqrtzhzQC9yeYNpTupqd8GrOaxVoXn4cggw1QRF akvwG1OclF9jmBtMgTBj33z6TTB5zyB/bPBzysYQ= Received: by smtp.zohomail.com with SMTPS id 1791200701258414.84841153146056; Mon, 5 Oct 2026 04:45:01 -0700 (PDT) From: Denys Fedoryshchenko To: libcamera-devel@lists.libcamera.org Subject: [PATCH] libcamera: Add missing direct includes Date: Mon, 5 Oct 2026 14:44:32 +0300 Message-ID: <20261005114432.321940-1-denys.f@collabora.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 X-ZohoMailClient: External X-Mailman-Approved-At: Mon, 05 Oct 2026 16:27:11 +0200 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Building with libc++ 22 and -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES=1 exposes missing includes. Signed-off-by: Denys Fedoryshchenko Reviewed-by: Barnabás Pőcze --- Tested with Clang/libc++ 22 and Ubuntu host C headers, retaining -Werror. include/libcamera/internal/delayed_controls.h | 1 + include/libcamera/internal/process.h | 1 + test/controls/control_value.cpp | 1 + test/file.cpp | 1 + test/serialization/serialization_test.cpp | 1 + 5 files changed, 5 insertions(+) diff --git a/include/libcamera/internal/delayed_controls.h b/include/libcamera/internal/delayed_controls.h index b64d8bba7cf73e10491d13d64bb4b3f7db80681b..692b8ed9b0e90bde535a2577aabea1bd75d7ee09 100644 --- a/include/libcamera/internal/delayed_controls.h +++ b/include/libcamera/internal/delayed_controls.h @@ -7,6 +7,7 @@ #pragma once +#include #include #include diff --git a/include/libcamera/internal/process.h b/include/libcamera/internal/process.h index 596e967de884852da885238a364b72764409df1b..0dfc2a55b477f5493dce987688cdf056b4bb0f73 100644 --- a/include/libcamera/internal/process.h +++ b/include/libcamera/internal/process.h @@ -9,6 +9,7 @@ #include #include +#include #include #include diff --git a/test/controls/control_value.cpp b/test/controls/control_value.cpp index c2f9fc482638392334cbc3e0e4503076e126e982..139701f7edbefb2a219a59b25076b007cad13397 100644 --- a/test/controls/control_value.cpp +++ b/test/controls/control_value.cpp @@ -6,6 +6,7 @@ */ #include +#include #include #include diff --git a/test/file.cpp b/test/file.cpp index 9bf67cc4a92a33505df6a22f0c3fa643e9ad435e..dfb5e63bea35f0f5d5980d17a0281342d06cc857 100644 --- a/test/file.cpp +++ b/test/file.cpp @@ -5,6 +5,7 @@ * File I/O operations tests */ +#include #include #include #include diff --git a/test/serialization/serialization_test.cpp b/test/serialization/serialization_test.cpp index af9969fdd11ff821de104b98b013acb891d2a8c8..f0850c98e07ad2ebdc31ae61241f8c590ae00570 100644 --- a/test/serialization/serialization_test.cpp +++ b/test/serialization/serialization_test.cpp @@ -9,6 +9,7 @@ #include #include +#include #include #include