From 3f04152d56acadceaf0db8b9afa9b784d111452f Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 28 Feb 2020 17:37:23 +0200 Subject: libcamera: ipa: Make self-contained The header makes use of uint*_t types, but doesn't include stdint.h. Fix it, and include ipa_controls.h in ipa_controls.cpp to test compilation of the header on its own. While at it, fix the comment as the top of ipa_controls.cpp to refer to the correct file name. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- src/libcamera/ipa_controls.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libcamera/ipa_controls.cpp') diff --git a/src/libcamera/ipa_controls.cpp b/src/libcamera/ipa_controls.cpp index 6ea71bc6..dd3ff9a0 100644 --- a/src/libcamera/ipa_controls.cpp +++ b/src/libcamera/ipa_controls.cpp @@ -2,9 +2,11 @@ /* * Copyright (C) 2019, Google Inc. * - * ipa_controls.h - IPA control handling + * ipa_controls.cpp - IPA control handling */ +#include + /** * \file ipa_controls.h * \brief Type definitions for serialized controls -- cgit v1.2.1