Received: from list by lists.gnu.org with archive (Exim 4.71) id 1eoauL-00063W-EA for mharc-grub-devel@gnu.org; Wed, 21 Feb 2018 15:22:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoata-0005z1-7V for grub-devel@gnu.org; Wed, 21 Feb 2018 15:22:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoasW-0003Mn-4t for grub-devel@gnu.org; Wed, 21 Feb 2018 15:21:42 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:49408 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eoasV-0003Ly-7z for grub-devel@gnu.org; Wed, 21 Feb 2018 15:20:35 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C0DCEEB6E7; Wed, 21 Feb 2018 20:20:34 +0000 (UTC) Received: from trillian.uncooperative.org.com (dhcp-10-20-1-221.bss.redhat.com [10.20.1.221]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9AA1C10A970C; Wed, 21 Feb 2018 20:20:34 +0000 (UTC) From: Peter Jones To: grub-devel@gnu.org Cc: Daniel Kiper , Peter Jones Subject: [PATCH v3 1/7] aout.h: Fix missing include. Date: Wed, 21 Feb 2018 15:20:23 -0500 Message-Id: <20180221202029.31419-1-pjones@redhat.com> In-Reply-To: <20180221201833.prjf4yvfldjltptp@redhat.com> References: <20180221201833.prjf4yvfldjltptp@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 21 Feb 2018 20:20:34 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 21 Feb 2018 20:20:34 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'pjones@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 20:22:28 -0000 grub_aout_load() has a grub_file_t parameter, and depending on what order includes land in, it's sometimes not defined. This patch explicitly adds file.h to aout.h so that it will always be defined. Signed-off-by: Peter Jones --- include/grub/aout.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/grub/aout.h b/include/grub/aout.h index 10d7dde61ec..c8c1d94eca5 100644 --- a/include/grub/aout.h +++ b/include/grub/aout.h @@ -52,6 +52,7 @@ #define GRUB_AOUT_HEADER 1 #include +#include struct grub_aout32_header { -- 2.15.0