diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-28 17:37:23 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-06 18:10:12 +0200 |
commit | 3f04152d56acadceaf0db8b9afa9b784d111452f (patch) | |
tree | 34fafe3be304b2396fb451c2b31725e4a188420a /include/ipa/ipa_controls.h | |
parent | 3a48f525f9f09300dac47413f9130860c47acbde (diff) |
libcamera: ipa: Make <ipa/ipa_controls.h> self-contained
The <ipa/ipa_controls.h> 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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/ipa/ipa_controls.h')
-rw-r--r-- | include/ipa/ipa_controls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ipa/ipa_controls.h b/include/ipa/ipa_controls.h index 426d9968..6371e345 100644 --- a/include/ipa/ipa_controls.h +++ b/include/ipa/ipa_controls.h @@ -7,6 +7,8 @@ #ifndef __LIBCAMERA_IPA_CONTROLS_H__ #define __LIBCAMERA_IPA_CONTROLS_H__ +#include <stdint.h> + #ifdef __cplusplus extern "C" { #endif |