Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-03-02 19:04:40 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-03-02 19:04:40 +0000
commit5261c7fafb142135d01458b083013580a9d035cc (patch)
tree4f2fdaed3d1b7d95f8d42b56d24b5e3aa40b22ea /lib/libalpm
parent3eebe8fc2b641737c0581066034f29ce573900d5 (diff)
code cleanup
Diffstat (limited to 'lib/libalpm')
-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 */