From patchwork Mon Sep 1 06:26:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mikko Rapeli X-Patchwork-Id: 4816811 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E19F4C033A for ; Mon, 1 Sep 2014 06:31:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 31E1320170 for ; Mon, 1 Sep 2014 06:31:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7451F2015A for ; Mon, 1 Sep 2014 06:31:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752200AbaIAG2O (ORCPT ); Mon, 1 Sep 2014 02:28:14 -0400 Received: from mail.kapsi.fi ([217.30.184.167]:46121 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752730AbaIAG0u (ORCPT ); Mon, 1 Sep 2014 02:26:50 -0400 Received: from kapsi.fi ([217.30.184.161] helo=lakka.kapsi.fi) by mail.kapsi.fi with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1XOL4j-0004KH-AF; Mon, 01 Sep 2014 09:26:49 +0300 Received: from mcfrisk by lakka.kapsi.fi with local (Exim 4.80) (envelope-from ) id 1XOL4F-00045t-5N; Mon, 01 Sep 2014 09:26:19 +0300 From: Mikko Rapeli To: linux-kernel@vger.kernel.org Cc: linux-kbuild@vger.kernel.org, mikko.rapeli@iki.fi Subject: [RFC PATCH v2 16/27] sctp.h: include stdint.h in userspace Date: Mon, 1 Sep 2014 09:26:07 +0300 Message-Id: <1409552778-2537-17-git-send-email-mikko.rapeli@iki.fi> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1409552778-2537-1-git-send-email-mikko.rapeli@iki.fi> References: <1408660449-4011-1-git-send-email-mikko.rapeli@iki.fi> <1409552778-2537-1-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 217.30.184.161 X-SA-Exim-Mail-From: mcfrisk@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes compilation error: linux/sctp.h:652:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/linux/sctp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h index 266022a..f68d79a 100644 --- a/include/uapi/linux/sctp.h +++ b/include/uapi/linux/sctp.h @@ -53,7 +53,11 @@ #ifndef _UAPI_SCTP_H #define _UAPI_SCTP_H +#ifdef __KERNEL__ #include +#else +#include +#endif #include typedef __s32 sctp_assoc_t;