[libcamera-devel] [PATCH] ipa: raspberrypi: Add functional include to pwl.h

Eric Curtin ecurtin at redhat.com
Thu Jul 28 14:01:30 CEST 2022


Was failing without this include on Fedora 36 compiler toolchain.

Signed-off-by: Eric Curtin <ecurtin at redhat.com>
---
 src/ipa/raspberrypi/controller/pwl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/ipa/raspberrypi/controller/pwl.h b/src/ipa/raspberrypi/controller/pwl.h
index 546482cd..691c4700 100644
--- a/src/ipa/raspberrypi/controller/pwl.h
+++ b/src/ipa/raspberrypi/controller/pwl.h
@@ -7,6 +7,7 @@
 #pragma once
 
 #include <math.h>
+#include <functional>
 #include <vector>
 
 #include "libcamera/internal/yaml_parser.h"
-- 
2.37.1



More information about the libcamera-devel mailing list