Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753287AbbBPXOn (ORCPT ); Mon, 16 Feb 2015 18:14:43 -0500 Received: from mail.kapsi.fi ([217.30.184.167]:60404 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752279AbbBPXHV (ORCPT ); Mon, 16 Feb 2015 18:07:21 -0500 From: Mikko Rapeli To: linux-kernel@vger.kernel.org Cc: Mikko Rapeli , linux-api@vger.kernel.org Subject: [PATCH 21/45] scsi_bsg_fc.h: include stdint.h in userspace Date: Tue, 17 Feb 2015 00:05:24 +0100 Message-Id: <1424127948-22484-22-git-send-email-mikko.rapeli@iki.fi> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1424127948-22484-1-git-send-email-mikko.rapeli@iki.fi> References: <1424127948-22484-1-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a02:8070:d1af:b300: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: 891 Lines: 34 Fixes compilation error: scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’ Signed-off-by: Mikko Rapeli --- include/uapi/scsi/scsi_bsg_fc.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/scsi/scsi_bsg_fc.h b/include/uapi/scsi/scsi_bsg_fc.h index 3031b90..5cc25df 100644 --- a/include/uapi/scsi/scsi_bsg_fc.h +++ b/include/uapi/scsi/scsi_bsg_fc.h @@ -22,6 +22,12 @@ #ifndef SCSI_BSG_FC_H #define SCSI_BSG_FC_H +#ifdef __KERNEL__ +#include +#else +#include +#endif + /* * This file intended to be included by both kernel and user space */ -- 2.1.4 -- 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/