From patchwork Fri Jun 28 07:00:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 255283 X-Patchwork-Delegate: andreas.biessmann@googlemail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 28B522C0355 for ; Fri, 28 Jun 2013 17:07:12 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4550A4A176; Fri, 28 Jun 2013 09:06:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GwFBwNikdfYm; Fri, 28 Jun 2013 09:06:59 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 854CE4A179; Fri, 28 Jun 2013 09:06:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D9BF54A179 for ; Fri, 28 Jun 2013 09:06:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H7Mk82GXhEO7 for ; Fri, 28 Jun 2013 09:06:34 +0200 (CEST) X-Greylist: delayed 455 seconds by postgrey-1.27 at theia; Fri, 28 Jun 2013 09:06:24 CEST X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from cyclops.biessmann.org (cyclops.biessmann.org [134.0.25.77]) by theia.denx.de (Postfix) with ESMTP id 99A814A176 for ; Fri, 28 Jun 2013 09:06:24 +0200 (CEST) Received: from localhost (er.biessmann.org [80.81.14.92]) by cyclops.biessmann.org (Postfix) with ESMTPSA id E430AB60DD; Fri, 28 Jun 2013 08:56:18 +0200 (CEST) From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= To: U-Boot Mailinglist Date: Fri, 28 Jun 2013 09:00:06 +0200 Message-Id: <1372402807-31583-1-git-send-email-andreas.devel@googlemail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <51CD31D0.8050905@googlemail.com> References: <51CD31D0.8050905@googlemail.com> MIME-Version: 1.0 Subject: [U-Boot] [PATCH] lib/rsa/rsa-sig.c: compile on OS X X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Interfaces exposed by error.h seems not to be used in rsa-sig.c, remove it. This also fixes an compile error on OS X: ---8<--- u-boot/lib/rsa/rsa-sign.c:23:19: error: error.h: No such file or directory --->8--- Signed-off-by: Andreas Bießmann --- At least rsa-sig compiles with this change on OS X, mkimage is successfully linked against ssl and crypto, havn't runtime tested it though. So Simon, you could remove the TODO about host libs. lib/rsa/rsa-sign.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c index a75ae24..e30d8ca 100644 --- a/lib/rsa/rsa-sign.c +++ b/lib/rsa/rsa-sign.c @@ -20,7 +20,6 @@ #include "mkimage.h" #include #include -#include #include #include #include