From 87240dae6d4631a812ee81ed53c1622dd164bfcf Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 1 Feb 2011 09:59:12 -0600 Subject: 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 include properly, causing a build failure when NLS is disabled and this header isn't automatically included everywhere. Signed-off-by: Dan McGee --- lib/libalpm/be_local.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/libalpm/be_local.c') diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index 9602c825..c7110faf 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -30,7 +30,6 @@ #include #include #include /* PATH_MAX */ -#include /* setlocale */ /* libarchive */ #include @@ -912,5 +911,4 @@ pmdb_t *_alpm_db_register_local(void) return(db); } - /* vim: set ts=2 sw=2 noet: */ -- cgit v1.2.3-24-g4f1b