Message ID | 20241001102810.479285-2-mzamazal@redhat.com |
---|---|
State | Superseded |
Headers | show |
Series |
|
Related | show |
Hi Milan, Thank you for the patch. On Tue, Oct 01, 2024 at 12:27:53PM +0200, Milan Zamazal wrote: > 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> > --- > 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>
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>
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(-)