From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVCOA-0001n9-Fp for barebox@lists.infradead.org; Mon, 27 May 2019 09:57:59 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hVCO3-000226-Om for barebox@lists.infradead.org; Mon, 27 May 2019 11:57:47 +0200 Received: from afa by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1hVCO2-0003EK-UR for barebox@lists.infradead.org; Mon, 27 May 2019 11:57:46 +0200 From: Ahmad Fatoum Date: Mon, 27 May 2019 11:57:38 +0200 Message-Id: <20190527095744.5923-13-a.fatoum@pengutronix.de> In-Reply-To: <20190527095744.5923-1-a.fatoum@pengutronix.de> References: <20190527095744.5923-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 12/18] scripts: removes uses of in favor of To: barebox@lists.infradead.org We can't assume to be available on non-Linux hosts. Furthermore, errno constants values aren't fixed and passing them to libc perror(3)/strerror (3) would yield wrong results. Fix this by using the standard header instead. Signed-off-by: Ahmad Fatoum --- scripts/bareboximd.c | 1 - scripts/include/linux/err.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/bareboximd.c b/scripts/bareboximd.c index 81a59ec63c23..5ef91831c457 100644 --- a/scripts/bareboximd.c +++ b/scripts/bareboximd.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include #include diff --git a/scripts/include/linux/err.h b/scripts/include/linux/err.h index bdc3dd8131d4..9982ab17babe 100644 --- a/scripts/include/linux/err.h +++ b/scripts/include/linux/err.h @@ -4,7 +4,7 @@ #include #include -#include +#include /* * Original kernel header comment: -- 2.20.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox