git: file(1): Unbreak buildworld.

Sascha Wildner swildner at
Sun Jan 25 05:00:09 PST 2015

commit 372f6e60d8b5056a2cf692df7645fce9b3b69fc9
Author: Sascha Wildner <saw at>
Date:   Sun Jan 25 13:54:27 2015 +0100

    file(1): Unbreak buildworld.
    The issue is the missing definition of wchar_t in <inttypes.h> (required
    by POSIX too) which file(1) winds up needing because of new code in this
    The commit 3e581a72263dd3b726387b5dc2399a066511099f fixes it correctly
    but mkmagic.nx is a build-tool and so uses host includes (which don't
    have that <inttypes.h> fix yet at this point).
    I see no other way to fix this easily right now than just including
    <wchar.h>. This has a wchar_t definition, too.
    Reported-by: Robin Hahling <robin.hahling at>

Summary of changes:
 contrib/file/src/file.h | 1 +
 1 file changed, 1 insertion(+)

DragonFly BSD source repository

More information about the Commits mailing list