include/xlocale: Expose xlocale prototypes also upon wrong #include order.
commit44aab0b99f81fbc8c34c5bcc1674785867f7b349
authorSascha Wildner <saw@online.de>
Sat, 23 May 2020 09:31:21 +0000 (23 11:31 +0200)
committerSascha Wildner <saw@online.de>
Sat, 23 May 2020 09:31:21 +0000 (23 11:31 +0200)
treed26a3036a308608131d9e72e237be95daa32c2ed
parent1bc877a043c429585839884d0166d4eb56b8c70c
include/xlocale: Expose xlocale prototypes also upon wrong #include order.

The correct order to expose xlocale prototypes is for example:

#include <stdio.h>
#include <xlocale.h>

This commit fixes the two cases where we didn't accept the reverse
order. FreeBSD's commit msg says that some ports use the wrong
order.

Based-on:    FreeBSD's r233600
Reported-by: zrj
include/inttypes.h
include/stdio.h