summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-11-16 20:13:36 -0600
committerDan McGee <dan@archlinux.org>2010-12-12 20:29:20 -0600
commitfc74ef93b6945dfac299433a9418fdd31798f6b6 (patch)
tree13f432eb666db3b2d825cfcc1d50afc2293782b4 /lib/libalpm/sync.c
parent8e9a69e8f66b9b1a13e01ef0b67a78f2014754fa (diff)
downloadpacman-fc74ef93b6945dfac299433a9418fdd31798f6b6.tar.xz
dirent usage cleanup
We were including the header in a lot of places it is no longer used. Additionally, use the correct autoconf macro for determining whether d_type is available as a member: HAVE_STRUCT_DIRENT_D_TYPE. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 8609ed53..2f307750 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -31,7 +31,6 @@
#include <stdint.h> /* intmax_t */
#include <unistd.h>
#include <time.h>
-#include <dirent.h>
/* libalpm */
#include "sync.h"