From 26df58377b528133a1d839360ec3f5d0e577b504 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Sun, 10 Feb 2019 16:06:30 +0100 Subject: libcamera: v4l2_subdevice: Forward-declare MediaEntity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The V4L2Subdevice class uses MediaEntity instances, and the corresponding header is not included. Fix this by forward declaring the MediaEntity class. Fixes: 468176fa07d9 ("libcamera: Add V4L2Subdevice") Reviewed-by: Niklas Söderlund Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- src/libcamera/include/v4l2_subdevice.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/libcamera/include/v4l2_subdevice.h b/src/libcamera/include/v4l2_subdevice.h index 8fd66607..82fa6685 100644 --- a/src/libcamera/include/v4l2_subdevice.h +++ b/src/libcamera/include/v4l2_subdevice.h @@ -11,6 +11,7 @@ namespace libcamera { +class MediaEntity; struct Rectangle; struct V4L2SubdeviceFormat { -- cgit v1.2.1