summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-10-06 07:39:44 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-10-06 07:39:44 +0000
commit543940173d17b8a06b8f4e9cbb9ed507cb7b2db6 (patch)
tree9b6fb9b5d021e2580f5759c594db69fa2b70f635 /lib
parent4ee51bdf46144d4586843e490b3bb1fd23ffd585 (diff)
downloadpacman-543940173d17b8a06b8f4e9cbb9ed507cb7b2db6.tar.xz
Added a missing include for CYGWIN target
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/db.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 600774b7..cee36454 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -26,6 +26,9 @@
#include <errno.h>
#include <string.h>
#include <sys/stat.h>
+#ifdef CYGWIN
+#include <limits.h> /* PATH_MAX */
+#endif
/* pacman */
#include "log.h"
#include "util.h"