summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMilan Zamazal <mzamazal@redhat.com>2025-01-24 22:58:02 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-01-27 00:05:56 +0200
commit8072518ca9397e55c0356d712080c35b4947932d (patch)
tree28b75b99d1cd8680149d2a9df36d35985a5b6409 /src
parent818b7371465ebb96018cd10ee10db807d34fba68 (diff)
apps: ppm_writer: Add a missing include
<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@redhat.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/apps/common/ppm_writer.cpp1
1 files changed, 1 insertions, 0 deletions
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>