summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/formats.cpp2
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