summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMilan Zamazal <mzamazal@redhat.com>2024-10-01 12:27:53 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-12-05 22:29:57 +0200
commit8f7155ddfbfaa075da1908c8a9ae6f3c54d09664 (patch)
tree845b0be881c77be6649ff07d85d7fb8230bfd601 /src
parentfa0013c953b488ae421e66c0de726bf351072589 (diff)
libcamera: yaml_parser: Include stdlib.h instead of cstdlib
checkstyle.py will complain about cstdlib include, let's use stdlib.h instead. 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/libcamera/yaml_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/yaml_parser.cpp b/src/libcamera/yaml_parser.cpp
index f9302c4e..5ca5fb82 100644
--- a/src/libcamera/yaml_parser.cpp
+++ b/src/libcamera/yaml_parser.cpp
@@ -8,10 +8,10 @@
#include "libcamera/internal/yaml_parser.h"
#include <charconv>
-#include <cstdlib>
#include <errno.h>
#include <functional>
#include <limits>
+#include <stdlib.h>
#include <libcamera/base/file.h>
#include <libcamera/base/log.h>