[PATCH v5 01/15] yaml: Include stdlib.h instead of cstdlib
Milan Zamazal
mzamazal at redhat.com
Tue Oct 1 12:27:53 CEST 2024
checkstyle.py will complain about cstdlib include, let's use stdlib.h instead.
Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
---
src/libcamera/yaml_parser.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libcamera/yaml_parser.cpp b/src/libcamera/yaml_parser.cpp
index 4784f2dc3..d0f3df5f3 100644
--- a/src/libcamera/yaml_parser.cpp
+++ b/src/libcamera/yaml_parser.cpp
@@ -7,10 +7,10 @@
#include "libcamera/internal/yaml_parser.h"
-#include <cstdlib>
#include <errno.h>
#include <functional>
#include <limits>
+#include <stdlib.h>
#include <libcamera/base/file.h>
#include <libcamera/base/log.h>
--
2.44.1
More information about the libcamera-devel
mailing list