Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752035AbdHFRWZ (ORCPT ); Sun, 6 Aug 2017 13:22:25 -0400 Received: from mail.kapsi.fi ([91.232.154.25]:51982 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751425AbdHFRUq (ORCPT ); Sun, 6 Aug 2017 13:20:46 -0400 From: Mikko Rapeli To: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org Cc: Mikko Rapeli , Al Viro , Arnd Bergmann , "H . Peter Anvin" , Thomas Gleixner , Ingo Molnar , x86@kernel.org Subject: [PATCH v06 13/36] x86 uapi asm/sembuf.h: include linux/types.h and linux/ipc.h Date: Sun, 6 Aug 2017 18:44:04 +0200 Message-Id: <20170806164428.2273-14-mikko.rapeli@iki.fi> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170806164428.2273-1-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 X-SA-Exim-Connect-IP: 2003:6c:cd28:d400:219:d2ff:fe03:c7a9 X-SA-Exim-Mail-From: mikko.rapeli@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 31 Fixes userspace compile errors like: error: field ‘sem_perm’ has incomplete type struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ error: unknown type name ‘__kernel_time_t’ __kernel_time_t sem_otime; /* last semop time */ Signed-off-by: Mikko Rapeli Cc: Al Viro Cc: Arnd Bergmann Cc: H. Peter Anvin --- arch/x86/include/uapi/asm/sembuf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/include/uapi/asm/sembuf.h b/arch/x86/include/uapi/asm/sembuf.h index cc2d6a3aeae7..f11ed5282eec 100644 --- a/arch/x86/include/uapi/asm/sembuf.h +++ b/arch/x86/include/uapi/asm/sembuf.h @@ -1,6 +1,9 @@ #ifndef _ASM_X86_SEMBUF_H #define _ASM_X86_SEMBUF_H +#include +#include + /* * The semid64_ds structure for x86 architecture. * Note extra padding because this structure is passed back and forth -- 2.13.3