axel, bump version, add support for x86 secondary arch (#2636)

This commit is contained in:
Schrijvers Luc
2018-06-04 03:16:57 +02:00
committed by fbrosson
parent 3582a04140
commit c4b22f2b30
2 changed files with 29 additions and 26 deletions

View File

@@ -5,20 +5,19 @@ Subject: Fix for Haiku
diff --git a/src/tcp.c b/src/tcp.c
index 0fa13b3..c41993a 100644
index 6be557b..1c3f4b4 100644
--- a/src/tcp.c
+++ b/src/tcp.c
@@ -40,6 +40,10 @@
#include "axel.h"
@@ -47,6 +47,9 @@
#include <netdb.h>
#include <sys/ioctl.h>
+#ifdef __HAIKU__
+#include <sys/sockio.h>
+#endif
+
static void
tcp_error(char *buffer, char *hostname, int port, const char *reason)
{
--
2.14.2
@@ -30,10 +29,10 @@ Subject: Haiku specific lib
diff --git a/configure.ac b/configure.ac
index 2c2d592..3d97469 100644
index 9a311db..5c1cdad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,9 @@ HP-UX )
@@ -117,6 +117,9 @@ HP-UX )
fi
LDFLAGS="$LDFLAGS $AXEL_EXTRA_FLAGS -lpthread"
;;