• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision25ae0a3f30c9651dd22507a66f7ddea009973154 (tree)
l'heure2018-02-01 03:43:04
AuteurBernd Kuhls <bernd.kuhls@t-on...>
CommiterWaldemar Brodkorb

Message de Log

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>

Change Summary

Modification

--- a/libc/sysdeps/linux/aarch64/sys/ucontext.h
+++ b/libc/sysdeps/linux/aarch64/sys/ucontext.h
@@ -26,6 +26,10 @@
2626
2727 #include <sys/procfs.h>
2828
29+/* We need the signal context definitions even if they are not used
30+ included in <signal.h>. */
31+#include <bits/sigcontext.h>
32+
2933 typedef elf_greg_t greg_t;
3034
3135 /* Container for all general registers. */