diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/conflict.c | 4 | ||||
-rw-r--r-- | lib/libalpm/sync.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/libalpm/conflict.c b/lib/libalpm/conflict.c index f30a427b..ec48ceff 100644 --- a/lib/libalpm/conflict.c +++ b/lib/libalpm/conflict.c @@ -23,9 +23,7 @@ #include <stdlib.h> #include <unistd.h> #include <string.h> -#ifdef CYGWIN -#include <limits.h> /* PATH_MAX */ -#endif +#include <limits.h> #include <sys/stat.h> /* pacman */ #include "util.h" diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 58a3e3ce..49116f14 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -27,6 +27,7 @@ #ifdef CYGWIN #include <limits.h> /* PATH_MAX */ #endif +#include <dirent.h> #include <libtar.h> #include <zlib.h> /* pacman */ |