Blame SOURCES/gpgme-1.15.1-glibc-closefrom.patch

230d5d
diff --git a/src/posix-io.c b/src/posix-io.c
230d5d
index e712ef2..2a3a81f 100644
230d5d
--- a/src/posix-io.c
230d5d
+++ b/src/posix-io.c
230d5d
@@ -570,7 +570,7 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags,
230d5d
               if (fd_list[i].fd > fd)
230d5d
                 fd = fd_list[i].fd;
230d5d
             fd++;
230d5d
-#if defined(__sun) || defined(__FreeBSD__)
230d5d
+#if defined(__sun) || defined(__FreeBSD__) || defined(__GLIBC__)
230d5d
             closefrom (fd);
230d5d
             max_fds = fd;
230d5d
 #else /*!__sun */