[RFC,v2,11/13] apps: ppm_writer: Add a missing include
diff mbox series

Message ID 20250124215806.158024-12-mzamazal@redhat.com
State Accepted
Headers show
Series
  • Enable raw streams with software ISP
Related show

Commit Message

Milan Zamazal Jan. 24, 2025, 9:58 p.m. UTC
<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>
---
 src/apps/common/ppm_writer.cpp | 1 +
 1 file changed, 1 insertion(+)

Comments

Laurent Pinchart Jan. 25, 2025, 8:12 p.m. UTC | #1
Hi Milan,

Thank you for the patch.

On Fri, Jan 24, 2025 at 10:58:02PM +0100, Milan Zamazal wrote:
> <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>

> ---
>  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>
>

Patch
diff mbox series

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>