[PATCH] http: Include locale.h when using setlocale()

2015-03-06 Thread Ævar Arnfjörð Bjarmason
Since v2.3.0-rc1-37-gf18604b we've been using setlocale() here without importing locale.h. Oddly enough this only causes issues for me under -O0 on GCC Clang. I.e. if I do: $ git clean -dxf; make -j 1 V=1 CFLAGS=-g -O0 -Wall http.o I'll get this on clang 3.5.0-6 GCC 4.9.1-19 on Debian:

Re: [PATCH] http: Include locale.h when using setlocale()

2015-03-06 Thread Junio C Hamano
Ævar Arnfjörð Bjarmason ava...@gmail.com writes: Since v2.3.0-rc1-37-gf18604b we've been using setlocale() here without importing locale.h. Oddly enough this only causes issues for me under -O0 on GCC Clang. Sorry for not making this entry in What's cooking report very prominent: *