aarch64/sys/ucontext.h: include bits/sigcontext.h
commit25ae0a3f30c9651dd22507a66f7ddea009973154
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 28 Jan 2018 15:18:29 +0000 (28 16:18 +0100)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Wed, 31 Jan 2018 18:43:04 +0000 (31 18:43 +0000)
tree01ffcfc69a74e5b9bb314e88aaa5a0c0613095ca
parent6018c3787ab9cebcddd039702ddf3c7127651cde
aarch64/sys/ucontext.h: include bits/sigcontext.h

Fixes a buildroot build error with ffmpeg

In file included from /home/bernd/buildroot/output/host/aarch64-buildroot-linux-uclibc/sysroot/usr/include/signal.h:329:0,
                 from fftools/ffmpeg.h:26,
                 from fftools/ffmpeg_opt.c:23:
/home/bernd/buildroot/output/host/aarch64-buildroot-linux-uclibc/sysroot/usr/include/sys/ucontext.h:52:16:
 error: field 'uc_mcontext' has incomplete type
     mcontext_t uc_mcontext;
                ^~~~~~~~~~~

using this defconfig:

BR2_aarch64=y
BR2_PACKAGE_FFMPEG=y

sys/ucontext.h for other archs already include bits/sigcontext.h,
on aarch64 this is needed as well.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
libc/sysdeps/linux/aarch64/sys/ucontext.h