Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"