[PATCH] Add include for offsetof macro

Simon Horman horms at verge.net.au
Sun Nov 9 22:45:38 EST 2008

On Wed, Nov 05, 2008 at 10:41:49AM +0100, Stefan Assmann wrote:
> kexec/arch/i386/kexec-elf-x86.c and kexec/arch/x86_64/kexec-elf-x86_64.c
> both use the macro offsetof() which according to the man page requires
> #include <stddef.h>.
> The include is not present at the moment and this patch adds it. This is
> necessary for compatibility with i.e. uClibc.
> Signed-off-by: Stefan Assmann <sassmann at suse.de>

Thanks, applied.

Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en

More information about the kexec mailing list