Re: GLOB_ONLYDIR not defined in glob.h

2014-12-17 Thread Corinna Vinschen
On Dec 17 18:15, Kizito Porta Balanyà wrote: > 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 i

GLOB_ONLYDIR not defined in glob.h

2014-12-17 Thread Kizito Porta Balanyà
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, &globbu