From: Antoine Leca Date: Tue, 2 Aug 2016 21:07:15 +0000 (+0200) Subject: Adapt MINIX-specific part of tools/installboot X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/nslookup.html?a=commitdiff_plain;h=refs%2Fchanges%2F38%2F3338%2F1;p=minix.git Adapt MINIX-specific part of tools/installboot This is necessary to enable correct compilation of the tools version of installboot_nbsd(8)when cross-compiling on a system close enough to MINIX, like NetBSD 7.0.1 for example. Change-Id: I7a12614518293e05d64d7cc189c62651fdc64734 --- diff --git a/usr.sbin/installboot/install_master.c b/usr.sbin/installboot/install_master.c index 706f2255e..c86130cbf 100644 --- a/usr.sbin/installboot/install_master.c +++ b/usr.sbin/installboot/install_master.c @@ -3,6 +3,10 @@ * installboot 3.0 - Make a device bootable Author: Kees J. Bot * 21 Dec 1991 */ +#if HAVE_NBTOOL_CONFIG_H +#include "nbtool_config.h" +#endif + #include #include #include diff --git a/usr.sbin/installboot/minixfs3.c b/usr.sbin/installboot/minixfs3.c index e26c1e68f..f590c0cef 100644 --- a/usr.sbin/installboot/minixfs3.c +++ b/usr.sbin/installboot/minixfs3.c @@ -1,3 +1,7 @@ +#if HAVE_NBTOOL_CONFIG_H +#include "nbtool_config.h" +#endif + #include #include #include