summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm')
-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"