--- origsrc/glib-2.36.4/glib/gspawn.c 2013-08-07 09:36:32.000000000 -0500 +++ src/glib-2.36.4/glib/gspawn.c 2013-10-21 13:25:34.502441400 -0500 @@ -1040,7 +1040,7 @@ fdwalk (int (*cb)(void *data, int fd), v struct rlimit rl; #endif -#ifdef __linux__ +#if defined(__linux__) || defined(__CYGWIN__) DIR *d; if ((d = opendir("/proc/self/fd"))) {