POSIX: wchar.h and wctype.h don't need the locale.h but locale_t.h

* missed in hrev56270.
* mentioned on IRC: <dwa> please ask them if wchar.h isn't meant to include locale_t.h instead of locale.h

Change-Id: Ia9b7553480430c2fefb4a3659ad525322152582b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5797
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
Jérôme Duval 2022-11-02 13:47:24 +01:00
parent 1111dda699
commit c95c18768b
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
#include <limits.h>
#include <locale.h>
#include <locale_t.h>
#include <stddef.h>
#include <stdio.h>
#include <time.h>

View File

@ -6,7 +6,7 @@
#define _WCTYPE_H_
#include <locale.h>
#include <locale_t.h>
#include <wchar.h>
typedef int wctrans_t;