[RFC PATCH v2 11/13] apps: ppm_writer: Add a missing include

Milan Zamazal mzamazal at redhat.com
Fri Jan 24 22:58:02 CET 2025


<errno.h> should be included in the ppm writer, as the source of the
error code constants used there.

Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
---
 src/apps/common/ppm_writer.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/apps/common/ppm_writer.cpp b/src/apps/common/ppm_writer.cpp
index d6c8641d..2e9378aa 100644
--- a/src/apps/common/ppm_writer.cpp
+++ b/src/apps/common/ppm_writer.cpp
@@ -7,6 +7,7 @@
 
 #include "ppm_writer.h"
 
+#include <errno.h>
 #include <fstream>
 #include <iostream>
 
-- 
2.48.1



More information about the libcamera-devel mailing list