3 @@ -19,7 +19,7 @@ LDFLAGS += -L.
7 -OBJS := shutils.o wl.o wl_linux.o linux_timer.o
8 +OBJS := shutils.o wl.o wl_linux.o linux_timer.o ctype.o
15 +#include <features.h>
18 +extern void **__ctype_b_loc();
19 +extern void **__ctype_tolower_loc();
22 +void *__ctype_tolower;
24 +static void init(void) __attribute__((constructor));
25 +static void init(void)
27 + __ctype_b = *__ctype_b_loc();
28 + __ctype_tolower = *__ctype_tolower_loc();