From: Thomas Veerman Date: Mon, 26 Nov 2012 16:18:13 +0000 (+0000) Subject: mkfs.mfs: __dead and __UNCONST are unknown on Linux X-Git-Tag: v3.2.1~186 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=ac7451d11b9c1d12951df6f0d687bb97be61ab99;p=minix.git mkfs.mfs: __dead and __UNCONST are unknown on Linux Including nbtool_config.h takes care of that deficiency when cross compiling. --- diff --git a/usr.sbin/mkfs.mfs/mkfs.c b/usr.sbin/mkfs.mfs/mkfs.c index 8cb7be90b..f5c7bc6ad 100644 --- a/usr.sbin/mkfs.mfs/mkfs.c +++ b/usr.sbin/mkfs.mfs/mkfs.c @@ -10,6 +10,11 @@ * compatible with the original version 1 and 2 file system layout. */ +#if HAVE_NBTOOL_CONFIG_H +#include "nbtool_config.h" +#endif + +#include #include #include #include