[PATCH] nvme-cli: Fix build on aarch64-linux-android-4.9

Christoph Hellwig hch at infradead.org
Mon Apr 24 00:19:55 PDT 2017


>  #ifndef _COMMON_H
>  #define _COMMON_H
>  
> +#ifndef offsetof
>  #define offsetof(x, y)	__builtin_offsetof(x, y)
> +#endif

Please just remove the defintion entirely and make sure we always
have <stddef.h> included for the offsetoff definition.



More information about the Linux-nvme mailing list