diff options
author | Dan McGee <dan@archlinux.org> | 2011-02-01 16:59:12 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-01 16:59:12 +0100 |
commit | 87240dae6d4631a812ee81ed53c1622dd164bfcf (patch) | |
tree | 5141771886be0f17a5b9947e8db94ce59ef5e6c5 /lib/libalpm/be_sync.c | |
parent | 111e07d0be44b76b910c6a004421ede4f6f6fb49 (diff) | |
download | pacman-87240dae6d4631a812ee81ed53c1622dd164bfcf.tar.gz pacman-87240dae6d4631a812ee81ed53c1622dd164bfcf.tar.xz |
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>
Diffstat (limited to 'lib/libalpm/be_sync.c')
-rw-r--r-- | lib/libalpm/be_sync.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c index bc17f1b9..f7101f54 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -21,7 +21,6 @@ #include "config.h" #include <errno.h> -#include <locale.h> #include <limits.h> /* libarchive */ |