diff options
-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> |