From patchwork Wed Jun 25 21:02:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeroen Hofstee X-Patchwork-Id: 364154 X-Patchwork-Delegate: trini@ti.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 CB0F514008B for ; Thu, 26 Jun 2014 07:03:58 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9492BA76D6; Wed, 25 Jun 2014 23:03:54 +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 wBRewGgDqxRf; Wed, 25 Jun 2014 23:03:53 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2ACBD4B7AA; Wed, 25 Jun 2014 23:03:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 063EDA76D6 for ; Wed, 25 Jun 2014 23:02:41 +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 3FzvLpxwWTQe for ; Wed, 25 Jun 2014 23:02:34 +0200 (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 orange.myspectrum.nl (orange.myspectrum.nl [149.210.134.247]) by theia.denx.de (Postfix) with ESMTP id B6990A76CE for ; Wed, 25 Jun 2014 23:02:24 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by orange.myspectrum.nl (Postfix) with ESMTP id D1C728BEA3; Wed, 25 Jun 2014 23:02:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at myspectrum.nl Received: from orange.myspectrum.nl ([127.0.0.1]) by localhost (orange.myspectrum.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qHV7zVKIoXRp; Wed, 25 Jun 2014 23:02:23 +0200 (CEST) Received: from yellow (ip136-5-208-87.adsl2.static.versatel.nl [87.208.5.136]) (Authenticated sender: jeroen@myspectrum.nl) by orange.myspectrum.nl (Postfix) with ESMTPSA id 020748BE8A; Wed, 25 Jun 2014 23:02:22 +0200 (CEST) Received: by yellow (Postfix, from userid 1000) id 8D9217420D3; Wed, 25 Jun 2014 23:02:22 +0200 (CEST) From: Jeroen Hofstee To: u-boot@lists.denx.de Date: Wed, 25 Jun 2014 23:02:21 +0200 Message-Id: <1403730141-21701-1-git-send-email-jeroen@myspectrum.nl> X-Mailer: git-send-email 1.8.3.2 Cc: Tom Rini , Jeroen Hofstee Subject: [U-Boot] [PATCH] tools: compiler.h: add missing time.h 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de genimg_print_time uses time_t, but time.h is never included. Linux gets away with this since types.h includes time.h. Explicitly include the header file so building on e.g. FreeBSD also works. cc: Tom Rini Signed-off-by: Jeroen Hofstee --- include/compiler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/compiler.h b/include/compiler.h index 0734ed4..9afc11b 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -48,6 +48,7 @@ # include typedef unsigned long ulong; #endif +#include typedef uint8_t __u8; typedef uint16_t __u16;