From patchwork Sun Aug 4 06:03:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Trofimovich X-Patchwork-Id: 20754 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 08936C323E for ; Sun, 4 Aug 2024 10:59:42 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 191B663383; Sun, 4 Aug 2024 12:59:41 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fQpH2QCB"; dkim-atps=neutral Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3F69A6192D for ; Sun, 4 Aug 2024 08:04:34 +0200 (CEST) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-426526d30aaso63020075e9.0 for ; Sat, 03 Aug 2024 23:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722751473; x=1723356273; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XpP4hXJnRS3ggHaoO9K8AxIJSiHCgaxZIzjuq1F8dR8=; b=fQpH2QCBwbZ/8J9PUmCQM8Xz67762ixxYMdRGa7SXQLoseNIEPahPmcKixRKQ7f0nC lRCpCWKl6L+RLvyd2t8VS0qgd/nNyv8fEB+AUXxXrk0hKRDVbX9Q6ea3hPc8sl3kYp4C 86WFWeHAKQh6NrtrDi/mSmgOZYT5oz9m3fR9yxLzxxl9h2Lmiopmxzcu1WLKNGZbt1C+ LQahMRgd/4x8pF1c3eaTAxyQK/abD0fjdAG8GDyVmg8rt2v56HR+362vi3CpaX7q2gKQ 3QP2TAxkT1njZ+m2nV0bJBocO8RzL5jFyKbN1gZLLlPuNx6c5fOrGc6y31VSNTp5+2Ty 9gxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722751473; x=1723356273; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XpP4hXJnRS3ggHaoO9K8AxIJSiHCgaxZIzjuq1F8dR8=; b=K0heBHlQiH+lU6m9lEsNu4MHsBg0Of6qGDsyOHU5H2csempeaePR4bba4GyB5S3DGA 53phprR0VCZXE/28yobEKfZANZg1lK7TfhxIRTFIDviO8Vpvji7Enzv3pMaejGPJKyux 9wfBOZl5IsMB1VF41RL/Hl9PCbxzMqNCjnYyITv+DSkV47BUpEDjmL8v/T2xost12oRO vE5LN3xen4OL1+f4qgufwiP2vPTJGRR9y/LWP9XRTsXRONyqkEdcNdFnDa8i7ZWyMHPR 0cnhQdJ5o6LfLAqnuEY9XPmRkIvesnGBFjnrmFX5NGlVzP4gbYAUZebyQoRR/AfkoH01 MgFQ== X-Gm-Message-State: AOJu0YxA2mSqNVQd3x0lqjCaCdkFYd03zon89HkfN4P9XdmHtNQyIdWi wFEqLKWm/Eh6NqAdO+uFjDaL9MqwT1KPLqvbGVXJ7XzZkQh71Ycu X-Google-Smtp-Source: AGHT+IHP2vvddWZaCL9QXj5jzBwLzVJ9M5GsCMh0/ptBxWgR6zSyOMJv8wnsZ/dmvrIgohFMyg1lRg== X-Received: by 2002:a05:600c:350c:b0:426:593c:9351 with SMTP id 5b1f17b1804b1-428e6f866acmr52388685e9.6.1722751473174; Sat, 03 Aug 2024 23:04:33 -0700 (PDT) Received: from nz.home (host51-14-2-49.range51-14.btcentralplus.com. [51.14.2.49]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-428e6e0357asm87717695e9.12.2024.08.03.23.04.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Aug 2024 23:04:32 -0700 (PDT) Received: by nz.home (Postfix, from userid 1000) id CB4661ECC58D27; Sun, 04 Aug 2024 07:04:31 +0100 (BST) From: Sergei Trofimovich To: libcamera-devel@lists.libcamera.org Cc: Sergei Trofimovich Subject: [PATCH 1/2] include/libcamera/base/file.h: add missing include Date: Sun, 4 Aug 2024 07:03:59 +0100 Message-ID: <20240804060400.2790695-1-slyich@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Mailman-Approved-At: Sun, 04 Aug 2024 12:59:39 +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" Without the change the build fails on upcoming `gcc-15` as: In file included from ../src/libcamera/base/file.cpp:8: ../include/libcamera/base/file.h:62:33: error: 'uint8_t' was not declared in this scope 62 | ssize_t read(const Span &data); | ^~~~~~~ --- include/libcamera/base/file.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libcamera/base/file.h b/include/libcamera/base/file.h index 5637934c..192668ab 100644 --- a/include/libcamera/base/file.h +++ b/include/libcamera/base/file.h @@ -7,6 +7,7 @@ #pragma once +#include #include #include