git: <stdio.h>/<wchar.h>: Reduce namespace pollution in <wchar.h>.

Sascha Wildner swildner at
Wed May 4 14:05:29 PDT 2016

commit 69e6516956c27905b4070759b0c597e6ab8b1ba5
Author: Sascha Wildner <saw at>
Date:   Wed May 4 23:04:48 2016 +0200

    <stdio.h>/<wchar.h>: Reduce namespace pollution in <wchar.h>.
    Instead of including the whole of <stdio.h> in <wchar.h>, just define
    FILE there too, which is all it needs.
    Based on FreeBSD's similar definitions.

Summary of changes:
 include/stdio.h | 3 +++
 include/wchar.h | 6 +++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

DragonFly BSD source repository

More information about the Commits mailing list