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
This commit is contained in:
Antoine Leca 2016-08-02 23:07:15 +02:00 committed by Lionel Sambuc
parent 55a5a21b97
commit e70e5a1722
2 changed files with 8 additions and 0 deletions

View File

@ -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 <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -1,3 +1,7 @@
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>