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: 1cf709b1d2
("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>
This commit is contained in:
parent
329b38d254
commit
d78fbdba87
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
#include "formats.h"
|
#include "formats.h"
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file formats.h
|
* \file formats.h
|
||||||
* \brief Types and helper methods to handle libcamera image formats
|
* \brief Types and helper methods to handle libcamera image formats
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue