From beed258a5a3f6a690c6774d37815527fe60375eb Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sun, 23 Aug 2020 21:56:37 +0300 Subject: test: Include specific headers instead of libcamera.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's only pull required headers, to avoid slowing compilation down. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Niklas Söderlund --- test/libtest/buffer_source.h | 2 +- test/libtest/camera_test.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'test/libtest') diff --git a/test/libtest/buffer_source.h b/test/libtest/buffer_source.h index 95a82a82..14b4770e 100644 --- a/test/libtest/buffer_source.h +++ b/test/libtest/buffer_source.h @@ -7,7 +7,7 @@ #ifndef __LIBCAMERA_BUFFER_SOURCE_TEST_H__ #define __LIBCAMERA_BUFFER_SOURCE_TEST_H__ -#include +#include #include "libcamera/internal/media_device.h" #include "libcamera/internal/v4l2_videodevice.h" diff --git a/test/libtest/camera_test.h b/test/libtest/camera_test.h index 0b6bad05..7939798f 100644 --- a/test/libtest/camera_test.h +++ b/test/libtest/camera_test.h @@ -7,7 +7,10 @@ #ifndef __LIBCAMERA_CAMERA_TEST_H__ #define __LIBCAMERA_CAMERA_TEST_H__ -#include +#include + +#include +#include using namespace libcamera; -- cgit v1.2.1