Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752626AbbBRQKe (ORCPT ); Wed, 18 Feb 2015 11:10:34 -0500 Received: from www62.your-server.de ([213.133.104.62]:53754 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751783AbbBRQKd (ORCPT ); Wed, 18 Feb 2015 11:10:33 -0500 X-Greylist: delayed 1345 seconds by postgrey-1.27 at vger.kernel.org; Wed, 18 Feb 2015 11:10:32 EST Message-ID: <54E4B434.3030302@iogearbox.net> Date: Wed, 18 Feb 2015 16:48:04 +0100 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Mikko Rapeli , linux-kernel@vger.kernel.org CC: Vlad Yasevich , Neil Horman , linux-sctp@vger.kernel.org, linux-api@vger.kernel.org Subject: Re: [PATCH 20/45] sctp.h: include stdint.h in userspace References: <1424127948-22484-1-git-send-email-mikko.rapeli@iki.fi> <1424127948-22484-21-git-send-email-mikko.rapeli@iki.fi> In-Reply-To: <1424127948-22484-21-git-send-email-mikko.rapeli@iki.fi> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1113 Lines: 36 On 02/17/2015 12:05 AM, Mikko Rapeli wrote: > Fixes compilation error: > > linux/sctp.h:652:2: error: unknown type name ‘uint32_t’ > > Signed-off-by: Mikko Rapeli I have no idea where the rest of this series went (neither netdev, nor lkml, nor linux-sctp) and what user space application making use of the header you are trying to fix !? > --- > 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 Looks ugly, but could also be resolved in user space. -- 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/