[v5,01/15] yaml: Include stdlib.h instead of cstdlib
diff mbox series

Message ID 20241001102810.479285-2-mzamazal@redhat.com
State New
Headers show
Series
  • Add global configuration file
Related show

Commit Message

Milan Zamazal Oct. 1, 2024, 10:27 a.m. UTC
checkstyle.py will complain about cstdlib include, let's use stdlib.h instead.

Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
---
 src/libcamera/yaml_parser.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

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>