summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorRémy Oudompheng <remyoudompheng@gmail.com>2011-04-02 00:36:08 +0200
committerDan McGee <dan@archlinux.org>2011-04-02 12:40:12 -0500
commit0458572a6e9db0030f305c25e951434a099ae754 (patch)
tree6529c4c7396c2f7865cb9f679afa270ddda010d6 /lib/libalpm/util.c
parentc37710734694c5a64da924bbfbbcfc07496e241e (diff)
downloadpacman-0458572a6e9db0030f305c25e951434a099ae754.tar.xz
util.c: include limits.h for PATH_MAX macro
Signed-off-by: Rémy Oudompheng <remy@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r--lib/libalpm/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index 11e69041..430da92a 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -34,6 +34,7 @@
#include <time.h>
#include <syslog.h>
#include <errno.h>
+#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>