> -----Original Message----- > From: Thomas Monjalon <tho...@monjalon.net> > Sent: 10 March 2023 00:13 > To: Srikanth Yalavarthi <syalavar...@marvell.com> > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > <sshankarn...@marvell.com>; Jerin Jacob Kollanukkaran > <jer...@marvell.com>; Anup Prabhu <apra...@marvell.com>; Prince Takkar > <ptak...@marvell.com>; Parijat Shukla <pshu...@marvell.com> > Subject: [EXT] Re: [PATCH v4 04/12] app/mldev: add test case to validate > model ops > > External Email > > ---------------------------------------------------------------------- > 07/02/2023 16:49, Srikanth Yalavarthi: > > --- a/app/test-mldev/ml_options.c > > +++ b/app/test-mldev/ml_options.c > > @@ -4,6 +4,7 @@ > > > > #include <errno.h> > > #include <getopt.h> > > +#include <linux/limits.h> > > It breaks on non-Linux OS of course. > include <limits.h> is enough and more portable. > > I will fix while merging.
Currently ML is not supported on windows. Hence used <linux/limits.h>. Will be removed in version 5. > > In general, I think you have too many includes. > You could reduce them by using devtools/process-iwyu.py > Will do a cleanup on header includes in version 5.