On 5/19/2023 9:46 PM, Rushil Gupta wrote:
> diff --git a/drivers/net/gve/base/gve_osdep.h 
> b/drivers/net/gve/base/gve_osdep.h
> index abf3d379ae..5e8ae1eac6 100644
> --- a/drivers/net/gve/base/gve_osdep.h
> +++ b/drivers/net/gve/base/gve_osdep.h
> @@ -21,9 +21,14 @@
>  #include <rte_malloc.h>
>  #include <rte_memcpy.h>
>  #include <rte_memzone.h>
> +#include <rte_version.h>
>  
>  #include "../gve_logs.h"
>  
> +#ifdef __linux__
> +#include <sys/utsname.h>
> +#endif
> +

Can you please use 'RTE_EXEC_ENV_LINUX' macro instead of '__linux__'?

Reply via email to