diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-10-06 07:28:30 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-10-06 07:28:30 +0000 |
commit | 4ee51bdf46144d4586843e490b3bb1fd23ffd585 (patch) | |
tree | a1223ace4e73f0d1d41db6f3ef638d4863a74cba /lib/libalpm/sync.c | |
parent | effbe50ffd811f4c289e5cb264c7b01303f57d19 (diff) | |
download | pacman-4ee51bdf46144d4586843e490b3bb1fd23ffd585.tar.xz |
Added a CYGWIN define to include header files required to build in a Cygwin environment
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r-- | lib/libalpm/sync.c | 3 |
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 */ |