Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-10-06 07:28:30 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-10-06 07:28:30 +0000
commit4ee51bdf46144d4586843e490b3bb1fd23ffd585 (patch)
treea1223ace4e73f0d1d41db6f3ef638d4863a74cba /lib/libalpm/util.c
parenteffbe50ffd811f4c289e5cb264c7b01303f57d19 (diff)
Added a CYGWIN define to include header files required to build in a Cygwin environment
Diffstat (limited to 'lib/libalpm/util.c')
-rw-r--r--lib/libalpm/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index a4b9e0ff..4836812e 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -30,6 +30,9 @@
#include <dirent.h>
#include <time.h>
#include <syslog.h>
+#ifdef CYGWIN
+#include <limits.h> /* PATH_MAX */
+#endif
#include <zlib.h>
#include <libtar.h>
/* pacman */