summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-03-02 20:04:40 +0100
committerAurelien Foret <aurelien@archlinux.org>2006-03-02 20:04:40 +0100
commit5261c7fafb142135d01458b083013580a9d035cc (patch)
tree4f2fdaed3d1b7d95f8d42b56d24b5e3aa40b22ea
parent3eebe8fc2b641737c0581066034f29ce573900d5 (diff)
downloadpacman-5261c7fafb142135d01458b083013580a9d035cc.tar.gz
pacman-5261c7fafb142135d01458b083013580a9d035cc.tar.xz
code cleanup
-rw-r--r--lib/libalpm/conflict.c4
-rw-r--r--lib/libalpm/sync.c1
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 */