summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-11-20 18:01:56 +0100
committerDan McGee <dan@archlinux.org>2007-11-20 18:01:56 +0100
commitaa942a126bb7c229f7b94e5e0ab8de5241f77580 (patch)
tree8b9119559a1ca95eb8090c4610db1250fafaa3ef /lib/libalpm
parent4576000c39ea350fc563163c4deb2e2e4031e386 (diff)
downloadpacman-aa942a126bb7c229f7b94e5e0ab8de5241f77580.tar.gz
pacman-aa942a126bb7c229f7b94e5e0ab8de5241f77580.tar.xz
Add missing header includes for setlocale
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/be_files.c1
-rw-r--r--lib/libalpm/package.c1
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>