diff options
author | Dan McGee <dan@archlinux.org> | 2007-11-20 18:01:56 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-20 18:01:56 +0100 |
commit | aa942a126bb7c229f7b94e5e0ab8de5241f77580 (patch) | |
tree | 8b9119559a1ca95eb8090c4610db1250fafaa3ef | |
parent | 4576000c39ea350fc563163c4deb2e2e4031e386 (diff) | |
download | pacman-aa942a126bb7c229f7b94e5e0ab8de5241f77580.tar.gz pacman-aa942a126bb7c229f7b94e5e0ab8de5241f77580.tar.xz |
Add missing header includes for setlocale
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | lib/libalpm/be_files.c | 1 | ||||
-rw-r--r-- | lib/libalpm/package.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index 61c0c0e0..078136ed 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -33,6 +33,7 @@ #include <ctype.h> #include <time.h> #include <limits.h> /* PATH_MAX */ +#include <locale.h> /* setlocale */ /* libalpm */ #include "db.h" diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 24304e14..172456d6 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -33,6 +33,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> +#include <locale.h> /* setlocale */ /* libarchive */ #include <archive.h> |