diff options
Diffstat (limited to 'net-misc/curl/files')
-rw-r--r-- | net-misc/curl/files/curl-7.36.0-hostcheck.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net-misc/curl/files/curl-7.36.0-hostcheck.patch b/net-misc/curl/files/curl-7.36.0-hostcheck.patch new file mode 100644 index 000000000000..243159d90d72 --- /dev/null +++ b/net-misc/curl/files/curl-7.36.0-hostcheck.patch @@ -0,0 +1,27 @@ +From a8c7cf62811d688efeff49f8f9ab942b525ebfd4 Mon Sep 17 00:00:00 2001 +From: Dan Fandrich <dan@coneharvesters.com> +Date: Wed, 26 Mar 2014 22:27:34 +0100 +Subject: [PATCH] hostcheck: added a system include to define struct in_addr + +--- + lib/hostcheck.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/lib/hostcheck.c b/lib/hostcheck.c +index 162c522..42eb2ee 100644 +--- a/lib/hostcheck.c ++++ b/lib/hostcheck.c +@@ -26,6 +26,10 @@ + defined(USE_GSKIT) + /* these backends use functions from this file */ + ++#ifdef HAVE_NETINET_IN_H ++#include <netinet/in.h> ++#endif ++ + #include "hostcheck.h" + #include "rawstr.h" + #include "inet_pton.h" +-- +1.9.1 + |