--- a/rpmio/rpmglob.cc +++ b/rpmio/rpmglob.cc @@ -79,9 +79,13 @@ goto exit; } +#ifdef GLOB_BRACE gflags |= GLOB_BRACE; +#endif if (home != NULL && strlen(home) > 0) +#ifdef GLOB_TILDE gflags |= GLOB_TILDE; +#endif #if HAVE_GLOB_ONLYDIR if (dir_only) gflags |= GLOB_ONLYDIR;