From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikko Rapeli Subject: [PATCH v05 35/72] include/uapi/asm-generic/ucontext.h: include asm/signal.h and asm/sigcontext.h Date: Mon, 22 Aug 2016 20:32:52 +0200 Message-ID: <1471890809-4383-36-git-send-email-mikko.rapeli@iki.fi> References: <1471890809-4383-1-git-send-email-mikko.rapeli@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <1471890809-4383-1-git-send-email-mikko.rapeli@iki.fi> Sender: linux-kernel-owner@vger.kernel.org To: linux-kernel@vger.kernel.org Cc: Mikko Rapeli , Arnd Bergmann , linux-arch@vger.kernel.org List-Id: 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 --- 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 ad77343..4481528 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.8.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kapsi.fi ([217.30.184.167]:44434 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755101AbcHVShX (ORCPT ); Mon, 22 Aug 2016 14:37:23 -0400 From: Mikko Rapeli Subject: [PATCH v05 35/72] include/uapi/asm-generic/ucontext.h: include asm/signal.h and asm/sigcontext.h Date: Mon, 22 Aug 2016 20:32:52 +0200 Message-ID: <1471890809-4383-36-git-send-email-mikko.rapeli@iki.fi> In-Reply-To: <1471890809-4383-1-git-send-email-mikko.rapeli@iki.fi> References: <1471890809-4383-1-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: linux-kernel@vger.kernel.org Cc: Mikko Rapeli , Arnd Bergmann , linux-arch@vger.kernel.org Message-ID: <20160822183252.SMWm9NFbkzOj18BWVxvaOWlD2sajkGdJV9jXY3AB03U@z> 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 --- 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 ad77343..4481528 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.8.1