Репозитории ALT
S: | 1.7.0-alt4 |
D: | 1.2.12-alt2.1 |
5.1: | 1.4.6-alt0.M51.1 |
4.1: | 1.2.12-alt2 |
4.0: | 1.2.8-alt1.2 |
+updates: | 1.2.8-alt1.2 |
Группа :: Система/Библиотеки
Пакет: apr1
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: apr-1.4.4-alt-016_sendfile_hurd.dpatch
Скачать
Скачать
network_io/unix/sendrecv.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/network_io/unix/sendrecv.c b/network_io/unix/sendrecv.c
index d15ed69..979aedf 100644
--- a/network_io/unix/sendrecv.c
+++ b/network_io/unix/sendrecv.c
@@ -245,7 +245,7 @@ do_select:
/* Define a structure to pass in when we have a NULL header value */
static apr_hdtr_t no_hdtr;
-#if defined(__linux__) && defined(HAVE_WRITEV)
+#if (defined(__linux__) || defined(__GNU__)) && defined(HAVE_WRITEV)
/* Helper function for apr_socket_sendfile.
* Takes care of sendfile vs. sendfile64 (must be detected at runtime),