Fix locale.h/setlocale inclusion with --disable-nls
commit87240dae6d4631a812ee81ed53c1622dd164bfcf
authorDan McGee <dan@archlinux.org>
Tue, 1 Feb 2011 15:59:12 +0000 (1 09:59 -0600)
committerDan McGee <dan@archlinux.org>
Tue, 1 Feb 2011 15:59:12 +0000 (1 09:59 -0600)
tree5141771886be0f17a5b9947e8db94ce59ef5e6c5
parent111e07d0be44b76b910c6a004421ede4f6f6fb49
Fix locale.h/setlocale inclusion with --disable-nls

Noted in FS#22697. When I factored out _alpm_parsedate() into a common
function, I didn't move the <locale.h> include properly, causing a build
failure when NLS is disabled and this header isn't automatically included
everywhere.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/be_local.c
lib/libalpm/be_package.c
lib/libalpm/be_sync.c
lib/libalpm/util.c