From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755340AbZDRL02 (ORCPT ); Sat, 18 Apr 2009 07:26:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753253AbZDRL0T (ORCPT ); Sat, 18 Apr 2009 07:26:19 -0400 Received: from ftp.linux-mips.org ([213.58.128.207]:58336 "EHLO ftp.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751823AbZDRL0T (ORCPT ); Sat, 18 Apr 2009 07:26:19 -0400 Date: Sat, 18 Apr 2009 11:30:56 +0200 From: Ralf Baechle To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org Subject: [PATCH] needs to include . Message-ID: <20090418093056.GA17056@linux-mips.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org uses EINVAL so should include . This fixes a build error on 64-bit MIPS if CONFIG_SECCOMP is disabled. Signed-off-by: Ralf Baechle include/linux/seccomp.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/seccomp.h b/include/linux/seccomp.h index 262a8dc..167c333 100644 --- a/include/linux/seccomp.h +++ b/include/linux/seccomp.h @@ -21,6 +21,8 @@ extern long prctl_set_seccomp(unsigned long); #else /* CONFIG_SECCOMP */ +#include + typedef struct { } seccomp_t; #define secure_computing(x) do { } while (0)