diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-03-02 19:04:40 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-03-02 19:04:40 +0000 |
commit | 5261c7fafb142135d01458b083013580a9d035cc (patch) | |
tree | 4f2fdaed3d1b7d95f8d42b56d24b5e3aa40b22ea /lib | |
parent | 3eebe8fc2b641737c0581066034f29ce573900d5 (diff) |
code cleanup
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 */ |