test: file-descriptor: Fix undefined O_TMPFILE compilation error
O_TMPFILE is not defined by all libc implementations. libcamera has an internal definition in utils.h to work around this. Include utils.h in the test to fix the compilation error. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
1268751ce6
commit
291d4878bb
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
#include <libcamera/file_descriptor.h>
|
#include <libcamera/file_descriptor.h>
|
||||||
|
|
||||||
#include "test.h"
|
#include "test.h"
|
||||||
|
#include "utils.h"
|
||||||
|
|
||||||
using namespace libcamera;
|
using namespace libcamera;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue