From patchwork Sun Jan 28 15:18:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 866829 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=uclibc-ng.org (client-ip=89.238.66.15; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=) Received: from helium.openadk.org (helium.openadk.org [89.238.66.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zTx9y56xKz9sDB for ; Mon, 29 Jan 2018 02:18:42 +1100 (AEDT) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id 1FA04100BB; Sun, 28 Jan 2018 16:08:11 +0100 (CET) X-Original-To: devel@uclibc-ng.org Delivered-To: devel@helium.openadk.org Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by helium.openadk.org (Postfix) with ESMTPS id E2A31100BB for ; Sun, 28 Jan 2018 16:08:08 +0100 (CET) Received: from fwd10.aul.t-online.de (fwd10.aul.t-online.de [172.20.26.152]) by mailout04.t-online.de (Postfix) with SMTP id 21C7C41958FC for ; Sun, 28 Jan 2018 16:18:34 +0100 (CET) Received: from fli4l.lan.fli4l (Z6wHerZpYhfDD55X3TCu9fHkRGprkhtfCcnqI+vbonvQwVCgGkaUNCm9XdUldEnZhk@[79.228.17.47]) by fwd10.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1efoj2-35HAEC0; Sun, 28 Jan 2018 16:18:32 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:57748 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.90) (envelope-from ) id 1efoj1-0005PJ-3Q for devel@uclibc-ng.org; Sun, 28 Jan 2018 16:18:31 +0100 From: Bernd Kuhls To: devel@uclibc-ng.org Date: Sun, 28 Jan 2018 16:18:29 +0100 Message-Id: <20180128151829.6582-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 X-Spam-Score: -2.5 (--) X-ID: Z6wHerZpYhfDD55X3TCu9fHkRGprkhtfCcnqI+vbonvQwVCgGkaUNCm9XdUldEnZhk X-TOI-MSGID: 27c0e56f-9806-4009-a8bd-cca72d9c43eb Subject: [uclibc-ng-devel] [PATCH 1/1] aarch64/sys/ucontext.h: include bits/sigcontext.h X-BeenThere: devel@uclibc-ng.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: uClibc-ng Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: devel-bounces@uclibc-ng.org Sender: "devel" 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 --- libc/sysdeps/linux/aarch64/sys/ucontext.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libc/sysdeps/linux/aarch64/sys/ucontext.h b/libc/sysdeps/linux/aarch64/sys/ucontext.h index d17458896..dc7303b54 100644 --- a/libc/sysdeps/linux/aarch64/sys/ucontext.h +++ b/libc/sysdeps/linux/aarch64/sys/ucontext.h @@ -26,6 +26,10 @@ #include +/* We need the signal context definitions even if they are not used + included in . */ +#include + typedef elf_greg_t greg_t; /* Container for all general registers. */