Make GLOB_ONLYDIR optional

Issue #285 resolved
Anonymous created an issue

Compilation currently fails on linux system using the musl libc library.(See http://bluedragon-tinderbox.freeharbor.net/app-admin/monit-5.12.2/temp/build.log) because the GNU extension GLOB_ONLYDIR is used.

The man page says that GLOB_ONLYDIR is only an optimization, so it seems sensible to use 0 when it is not defined.

Comments (1)

  1. Log in to comment