summaryrefslogtreecommitdiffstats
path: root/src/pacman/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r--src/pacman/sync.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index fb00c78d..17b9b3a2 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -26,6 +26,9 @@
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
+#ifdef CYGWIN
+#include <limits.h> /* PATH_MAX */
+#endif
#include <alpm.h>
/* pacman */