~ chicken-core (chicken-5) bbb3b76171f560f1333a42d8542a30fbd4f173ca
commit bbb3b76171f560f1333a42d8542a30fbd4f173ca Author: felix <felix@call-with-current-continuation.org> AuthorDate: Sun Dec 19 13:41:46 2010 +0100 Commit: felix <felix@call-with-current-continuation.org> CommitDate: Sun Dec 19 13:41:46 2010 +0100 added stupid alias for missing h_addr hostent shit struct diff --git a/tcp.scm b/tcp.scm index 2622afc5..64d1a474 100644 --- a/tcp.scm +++ b/tcp.scm @@ -71,6 +71,10 @@ static WSADATA wsa; #include <sys/sockio.h> #endif +#ifndef h_addr +# define h_addr h_addr_list[ 0 ] +#endif + static char addr_buffer[ 20 ]; EOF ) )Trap