Hello, I'm trying to compile monit in cygwin, but I get an error:
src/process/sysdep_UNKNOWN.c:218:34: error: ‘GLOB_ONLYDIR’ not declared (first use)) if ((rv = glob("/proc/[0-9]*", GLOB_ONLYDIR, NULL, &globbuf))) { The function is: if ((rv = glob("/proc/[0-9]*", GLOB_ONLYDIR, NULL, &globbuf))) { LogError("system statistic error -- glob failed: %d (%s)\n", rv, STRERROR); return FALSE; } Do you know why GLOB_ONLYDIR is not defined in glob.h? Thanks a lot for your time. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple