summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-06-28 08:37:41 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-06-28 08:37:41 +0300
commit5cd1e56cd28ee18ab863951bc242e99e42d85a1a (patch)
tree49e4cbd3d4535a43a77f045a3ed204e2bdb77e8b /misc
parent23167c3ea459405c98d8e759993efb6d9b1ea7f3 (diff)
downloadlibrpm-tizen-5cd1e56cd28ee18ab863951bc242e99e42d85a1a.tar.gz
librpm-tizen-5cd1e56cd28ee18ab863951bc242e99e42d85a1a.tar.bz2
librpm-tizen-5cd1e56cd28ee18ab863951bc242e99e42d85a1a.zip
Enable GLOB_ONLYDIR of the bundled glob() on platforms that support it
Diffstat (limited to 'misc')
-rw-r--r--misc/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/glob.c b/misc/glob.c
index bf2dcb62a..3bebe9e9a 100644
--- a/misc/glob.c
+++ b/misc/glob.c
@@ -1056,7 +1056,7 @@ glob_in_dir (const char *pattern, const char *directory, int flags,
if (! REAL_DIR_ENTRY (d))
continue;
-#ifdef HAVE_D_TYPE
+#ifdef HAVE_STRUCT_DIRENT_D_TYPE
/* If we shall match only directories use the information
provided by the dirent call if possible. */
if ((flags & GLOB_ONLYDIR)