fix build regression in oldmalloc
[musl] / src / ctype / __ctype_get_mb_cur_max.c
index d235f4d..8e946fc 100644 (file)
@@ -1,6 +1,7 @@
-#include <stddef.h>
+#include <stdlib.h>
+#include "locale_impl.h"
 
 size_t __ctype_get_mb_cur_max()
 {
-       return 4;
+       return MB_CUR_MAX;
 }