index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-11-16 20:13:36 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-12 20:29:20 -0600 |
commit | fc74ef93b6945dfac299433a9418fdd31798f6b6 (patch) | |
tree | 13f432eb666db3b2d825cfcc1d50afc2293782b4 /lib/libalpm/be_local.c | |
parent | 8e9a69e8f66b9b1a13e01ef0b67a78f2014754fa (diff) |
-rw-r--r-- | lib/libalpm/be_local.c | 2 |
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index 22127520..988248d8 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -340,7 +340,7 @@ static int checkdbdir(pmdb_t *db) static int is_dir(const char *path, struct dirent *entry) { -#ifdef DT_DIR +#ifdef HAVE_STRUCT_DIRENT_D_TYPE return(entry->d_type == DT_DIR); #else char buffer[PATH_MAX]; |