From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikko Rapeli Subject: [PATCH v06 11/36] uapi asm-generic/ucontext.h: include asm/signal.h and asm/sigcontext.h Date: Sun, 6 Aug 2017 18:44:02 +0200 Message-ID: <20170806164428.2273-12-mikko.rapeli@iki.fi> References: <20170806164428.2273-1-mikko.rapeli@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mail.kapsi.fi ([91.232.154.25]:58819 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751336AbdHFRUo (ORCPT ); Sun, 6 Aug 2017 13:20:44 -0400 In-Reply-To: <20170806164428.2273-1-mikko.rapeli@iki.fi> Sender: linux-arch-owner@vger.kernel.org List-ID: To: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org Cc: Mikko Rapeli , "H . Peter Anvin" , Arnd Bergmann , Al Viro , linux-arch@vger.kernel.org Fixes userspace compiler errors: error: unknown type name ‘stack_t’ error: field ‘uc_mcontext’ has incomplete type struct sigcontext uc_mcontext; error: unknown type name ‘sigset_t’ Signed-off-by: Mikko Rapeli Cc: H. Peter Anvin Cc: Arnd Bergmann Cc: Al Viro --- include/uapi/asm-generic/ucontext.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/asm-generic/ucontext.h b/include/uapi/asm-generic/ucontext.h index ad77343e8a9a..448152801c4f 100644 --- a/include/uapi/asm-generic/ucontext.h +++ b/include/uapi/asm-generic/ucontext.h @@ -1,6 +1,9 @@ #ifndef __ASM_GENERIC_UCONTEXT_H #define __ASM_GENERIC_UCONTEXT_H +#include +#include + struct ucontext { unsigned long uc_flags; struct ucontext *uc_link; -- 2.13.3