Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932986AbbBQNLp (ORCPT ); Tue, 17 Feb 2015 08:11:45 -0500 Received: from charlotte.tuxdriver.com ([70.61.120.58]:48927 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752304AbbBQNLm (ORCPT ); Tue, 17 Feb 2015 08:11:42 -0500 Date: Tue, 17 Feb 2015 08:11:27 -0500 From: Neil Horman To: Mikko Rapeli Cc: linux-kernel@vger.kernel.org, Vlad Yasevich , linux-sctp@vger.kernel.org, linux-api@vger.kernel.org Subject: Re: [PATCH 20/45] sctp.h: include stdint.h in userspace Message-ID: <20150217131127.GB2729@neilslaptop.think-freely.org> References: <1424127948-22484-1-git-send-email-mikko.rapeli@iki.fi> <1424127948-22484-21-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1424127948-22484-21-git-send-email-mikko.rapeli@iki.fi> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1202 Lines: 41 On Tue, Feb 17, 2015 at 12:05:23AM +0100, Mikko Rapeli wrote: > Fixes compilation error: > > linux/sctp.h:652:2: error: unknown type name ‘uint32_t’ > > Signed-off-by: Mikko Rapeli Acked-by: Neil Horman > --- > 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 ce70fe6..9fd31cf 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; > -- > 2.1.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-sctp" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/