diff --git a/glib/glib-unix.c b/glib/glib-unix.c index 932c230d6..6b34234b8 100644 --- a/glib/glib-unix.c +++ b/glib/glib-unix.c @@ -699,6 +699,7 @@ safe_fdwalk (int (*cb)(void *data, int fd), void *data) * fcntl(fd, F_PREVFD) * - return highest allocated file descriptor < fd. */ + gint open_max; gint fd; gint res = 0;