fix aliasing violations in mbtowc and mbrtowc
[musl] / src / multibyte / wcrtomb.c
index 250649f..59f733d 100644 (file)
@@ -4,13 +4,9 @@
  * unnecessary.
  */
 
-#include <stdlib.h>
-#include <inttypes.h>
 #include <wchar.h>
 #include <errno.h>
 
-#include "internal.h"
-
 size_t wcrtomb(char *restrict s, wchar_t wc, mbstate_t *restrict st)
 {
        if (!s) return 1;