diff options
author | Dan McGee <dan@archlinux.org> | 2010-11-17 03:13:36 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-13 03:29:20 +0100 |
commit | fc74ef93b6945dfac299433a9418fdd31798f6b6 (patch) | |
tree | 13f432eb666db3b2d825cfcc1d50afc2293782b4 /lib/libalpm/db.c | |
parent | 8e9a69e8f66b9b1a13e01ef0b67a78f2014754fa (diff) | |
download | pacman-fc74ef93b6945dfac299433a9418fdd31798f6b6.tar.gz pacman-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/db.c')
-rw-r--r-- | lib/libalpm/db.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 79d20d49..1e7d3a2b 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -29,7 +29,6 @@ #include <errno.h> #include <string.h> #include <sys/stat.h> -#include <dirent.h> #include <regex.h> #include <time.h> |