Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 20d5a64b..0be24b79 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -24,6 +24,9 @@
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
+#ifdef CYGWIN
+#include <limits.h> /* PATH_MAX */
+#endif
#include <libtar.h>
#include <zlib.h>
/* pacman */