diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-06-19 16:43:34 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-06-19 17:25:17 +0200 |
commit | d78fbdba8712de8389940180ab0b391da2cbe0b9 (patch) | |
tree | 87acbcfe4b3e568da78eae0c7d360314b62ec927 /src | |
parent | 329b38d2541c84e16b2cf2d8f6ad7af87eec2ecd (diff) |
libcamera: formats: Add missing include
Include errno.h header to fix missing definition of -EEXIST error code:
src/libcamera/formats.cpp:43:11: error: use of undeclared identifier 'EEXIST'
Fixes: 1cf709b1d2bb ("libcamera: formats: Add ImageFormats")
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/formats.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcamera/formats.cpp b/src/libcamera/formats.cpp index f1a62d47..ee4572e0 100644 --- a/src/libcamera/formats.cpp +++ b/src/libcamera/formats.cpp @@ -7,6 +7,8 @@ #include "formats.h" +#include <errno.h> + /** * \file formats.h * \brief Types and helper methods to handle libcamera image formats |