From patchwork Thu Jan 9 01:45:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 22486 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 4CF49C32F2 for ; Thu, 9 Jan 2025 01:45:13 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 50726684E2; Thu, 9 Jan 2025 02:45:12 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="GAa1jXlN"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2D067608AA for ; Thu, 9 Jan 2025 02:45:10 +0100 (CET) Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B8F3C1E3 for ; Thu, 9 Jan 2025 02:44:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1736387056; bh=mbFAFHbiwTBCyCdqBPXR0MBSw4ksATqo1hqPSgEYQaY=; h=From:To:Subject:Date:From; b=GAa1jXlN4b+RSTE5RVIVRHC7/DRCkvemzGZ9XoX8M7uDo7cR/TKfD2Ek9KmJVhRzH CokJOhNQuCDwUDNqqXPnjVI1/mJogN+Kb3jD0ho3bSp4JgP69W9LlIgLDYLG1Mdjxk yb0VXDkZQamPDPKISgH8pqilk4UKkx774S3PLg9g= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH] libcamera: include: Include missing stdint.h header Date: Thu, 9 Jan 2025 03:45:06 +0200 Message-ID: <20250109014506.27619-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 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" Many libcamera headers that use standard C integer types do not include stdint.h. Fix the omission. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- include/libcamera/base/utils.h | 1 + include/libcamera/internal/camera.h | 1 + include/libcamera/internal/camera_lens.h | 1 + include/libcamera/internal/camera_sensor.h | 1 + include/libcamera/internal/framebuffer.h | 1 + include/libcamera/internal/ipa_data_serializer.h | 1 + include/libcamera/internal/ipc_pipe.h | 1 + include/libcamera/internal/ipc_pipe_unixsocket.h | 1 + include/libcamera/internal/request.h | 1 + include/libcamera/internal/tracepoints/request.tp | 2 ++ include/libcamera/internal/v4l2_device.h | 1 + include/libcamera/internal/v4l2_subdevice.h | 1 + 12 files changed, 13 insertions(+) base-commit: 340bb7aa63d18516bcb1d21a1b7f10ba039903cf diff --git a/include/libcamera/base/utils.h b/include/libcamera/base/utils.h index 780aeda6a0ce732a..8d5c35782ee34e24 100644 --- a/include/libcamera/base/utils.h +++ b/include/libcamera/base/utils.h @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/include/libcamera/internal/camera.h b/include/libcamera/internal/camera.h index 2bb00bbcb6442b36..18f5c32a18e4def7 100644 --- a/include/libcamera/internal/camera.h +++ b/include/libcamera/internal/camera.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include diff --git a/include/libcamera/internal/camera_lens.h b/include/libcamera/internal/camera_lens.h index 5a4b993bb2dbcb3e..f347c5e0a5f3078f 100644 --- a/include/libcamera/internal/camera_lens.h +++ b/include/libcamera/internal/camera_lens.h @@ -7,6 +7,7 @@ #pragma once #include +#include #include #include diff --git a/include/libcamera/internal/camera_sensor.h b/include/libcamera/internal/camera_sensor.h index f6002c5f56448faa..13048f327bf2f626 100644 --- a/include/libcamera/internal/camera_sensor.h +++ b/include/libcamera/internal/camera_sensor.h @@ -8,6 +8,7 @@ #pragma once #include +#include #include #include #include diff --git a/include/libcamera/internal/framebuffer.h b/include/libcamera/internal/framebuffer.h index e6698a459432812b..97b49d42063f627b 100644 --- a/include/libcamera/internal/framebuffer.h +++ b/include/libcamera/internal/framebuffer.h @@ -8,6 +8,7 @@ #pragma once #include +#include #include #include diff --git a/include/libcamera/internal/ipa_data_serializer.h b/include/libcamera/internal/ipa_data_serializer.h index 66d9a19fcc54509d..b4614f21d701db0d 100644 --- a/include/libcamera/internal/ipa_data_serializer.h +++ b/include/libcamera/internal/ipa_data_serializer.h @@ -7,6 +7,7 @@ #pragma once +#include #include #include #include diff --git a/include/libcamera/internal/ipc_pipe.h b/include/libcamera/internal/ipc_pipe.h index a45607529cbf8a8e..418c4622ff82ba6d 100644 --- a/include/libcamera/internal/ipc_pipe.h +++ b/include/libcamera/internal/ipc_pipe.h @@ -7,6 +7,7 @@ #pragma once +#include #include #include diff --git a/include/libcamera/internal/ipc_pipe_unixsocket.h b/include/libcamera/internal/ipc_pipe_unixsocket.h index 8c972613f314d5b1..845128096280a57a 100644 --- a/include/libcamera/internal/ipc_pipe_unixsocket.h +++ b/include/libcamera/internal/ipc_pipe_unixsocket.h @@ -9,6 +9,7 @@ #include #include +#include #include "libcamera/internal/ipc_pipe.h" #include "libcamera/internal/ipc_unixsocket.h" diff --git a/include/libcamera/internal/request.h b/include/libcamera/internal/request.h index 4e7d05b1e028079d..73e9bb5ccb0a2941 100644 --- a/include/libcamera/internal/request.h +++ b/include/libcamera/internal/request.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/include/libcamera/internal/tracepoints/request.tp b/include/libcamera/internal/tracepoints/request.tp index 4f367e91458be267..42c596850e80dab9 100644 --- a/include/libcamera/internal/tracepoints/request.tp +++ b/include/libcamera/internal/tracepoints/request.tp @@ -5,6 +5,8 @@ * request.tp - Tracepoints for the request object */ +#include + #include #include "libcamera/internal/request.h" diff --git a/include/libcamera/internal/v4l2_device.h b/include/libcamera/internal/v4l2_device.h index f5aa502482017325..affe52c2ad3ff7df 100644 --- a/include/libcamera/internal/v4l2_device.h +++ b/include/libcamera/internal/v4l2_device.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include diff --git a/include/libcamera/internal/v4l2_subdevice.h b/include/libcamera/internal/v4l2_subdevice.h index 194382f84d97fbbc..fa2a4a21eefbb792 100644 --- a/include/libcamera/internal/v4l2_subdevice.h +++ b/include/libcamera/internal/v4l2_subdevice.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include