Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752050AbbFBTPF (ORCPT ); Tue, 2 Jun 2015 15:15:05 -0400 Received: from mail.kapsi.fi ([217.30.184.167]:44629 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbbFBTO4 (ORCPT ); Tue, 2 Jun 2015 15:14:56 -0400 Date: Tue, 2 Jun 2015 22:14:54 +0300 From: Mikko Rapeli To: Frans Klaver Cc: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org Subject: Re: [PATCH 29/98] scsi_netlink_fc.h: include stdint.h in userspace Message-ID: <20150602191454.GQ12550@lakka.kapsi.fi> References: <1433000370-19509-1-git-send-email-mikko.rapeli@iki.fi> <1433000370-19509-30-git-send-email-mikko.rapeli@iki.fi> <20150530201730.GC15645@bugger.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150530201730.GC15645@bugger.home> X-SA-Exim-Connect-IP: 2001:1bc8:1004::1 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: 1243 Lines: 38 On Sat, May 30, 2015 at 10:17:30PM +0200, Frans Klaver wrote: > On Sat, May 30, 2015 at 05:38:21PM +0200, Mikko Rapeli wrote: > > Fixes compilation error: > > > > scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list before ‘uint64_t’ > > > > Signed-off-by: Mikko Rapeli > > --- > > include/uapi/scsi/scsi_netlink_fc.h | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/include/uapi/scsi/scsi_netlink_fc.h b/include/uapi/scsi/scsi_netlink_fc.h > > index 2493a0f..b857e34 100644 > > --- a/include/uapi/scsi/scsi_netlink_fc.h > > +++ b/include/uapi/scsi/scsi_netlink_fc.h > > @@ -21,6 +21,11 @@ > > #ifndef SCSI_NETLINK_FC_H > > #define SCSI_NETLINK_FC_H > > > > +#ifdef __KERNEL__ > > +#include > > +#else > > +#include > > +#endif > > #include > > > > /* > > Shouldn't we be using __u64 and __u16 in this header instead? Indeed, this was a rebase/merge botch. Thanks! -Mikko -- 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/