Add <sys/socket.h> to pick up sockaddr on Interix (within the already

present __INTERIX block only).
This commit is contained in:
tv 2005-11-04 19:48:45 +00:00
parent 069df9ce65
commit a7fab54e2d
2 changed files with 15 additions and 1 deletions

View file

@ -1,7 +1,8 @@
$NetBSD: distinfo,v 1.40 2005/10/20 16:25:15 minskim Exp $
$NetBSD: distinfo,v 1.41 2005/11/04 19:48:45 tv Exp $
SHA1 (curl-7.15.0.tar.bz2) = 5c4d5b57e180d419a311f5fbbc104aac4d3f3a83
RMD160 (curl-7.15.0.tar.bz2) = 181cc8bbe7422fbf3c249902baae1d9c65633683
Size (curl-7.15.0.tar.bz2) = 1426714 bytes
SHA1 (patch-aa) = 83b1b2ec0d9531ef85c42d5ba1b5319415168d3e
SHA1 (patch-ab) = bc4a3b9d02dd07ec89af8745a44ee9957ad502cc
SHA1 (patch-ac) = 94d0f45a269b1de9cfe3353044ee9cd95bb2ada7

13
www/curl/patches/patch-ac Normal file
View file

@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.3 2005/11/04 19:48:45 tv Exp $
--- lib/if2ip.h.orig 2005-03-31 02:02:03.000000000 -0500
+++ lib/if2ip.h
@@ -27,6 +27,8 @@
extern char *Curl_if2ip(const char *interf, char *buf, int buf_size);
#ifdef __INTERIX
+#include <sys/socket.h>
+
/* Nedelcho Stanev's work-around for SFU 3.0 */
struct ifreq {
#define IFNAMSIZ 16